Commit graph

258 commits

Author SHA1 Message Date
Jordan Sissel
d0da38edc8 - add java flags to help improve startup time for interactive/human logstash
sessions
2013-11-15 16:26:22 -08:00
Jordan Sissel
3af5297925 - make the bin helpers simply wrap bin/logstash 2013-11-15 15:07:10 -08:00
Jordan Sissel
bfbdf9b9df Refactor to work from a git clone or from a tarball release.
This makes the default program 'agent' such that 'bin/logstash -f
something.conf' runs the agent.
2013-11-15 15:06:26 -08:00
Jordan Sissel
72f79a5f94 - generate VERSION based on some local state (logstash's declared
version, git revision if any, 'modified' flag if local modifications are
included)
- add tarball build targets
2013-11-15 14:23:47 -08:00
Aaron Mildenstein
733b2bbdb6 Update JRuby auto-installer in bin/logstash to use JRuby 1.7.5 2013-10-15 14:23:16 -05:00
Jordan Sissel
eabfbbf859 Fix syntax 2013-08-31 11:54:12 -07:00
Jordan Sissel
1012c0176e - add 'deps' command only to bin/logstash for downloading any
necessary dependencies.
2013-08-31 11:05:29 -07:00
Paul Czarkowski
3b0e66ec58 jruby version to match what's in Makefile
`Makefile` calls for `jruby` version `1.7.4`,  fixing `bin/logstash` to use the same version.
2013-06-24 09:26:48 -05:00
Jordan Sissel
95ba70d9b9 Detect ruby engine 2013-06-04 13:29:13 -07:00
Jordan Sissel
ffc030092a - make RUBYVER tunable for ruby 2.0, not that it works well yet. 2013-04-24 22:10:18 -07:00
Jordan Sissel
a9a191d620 - don't emit gem list 2013-04-23 23:44:34 -07:00
Jordan Sissel
24564c95fc - prep for rbx/mri support 2013-04-23 14:56:36 -07:00
Jordan Sissel
eab226455f jruby 1.7.3 2013-04-08 12:18:28 -07:00
Jordan Sissel
0ab564e4a3 - Add note of redis 2.6 requirement for new batch_count input setting
- Have bin/logstash fetch jruby if ruby is not found.

- note redis 2.6 requirement for new batch_count on redis input

- randomize batch size

- only build-jruby if it's not there. This avoids the 'make: Nothing to
be done for ...' message
2013-03-20 12:09:07 -07:00
Jordan Sissel
c33b9d100c - Force jruby if USE_JRUBY is set 2013-03-19 13:13:15 -07:00
Jordan Sissel
98863a67c0 - fall back to jruby if no local ruby is found 2013-03-19 12:45:38 -07:00
Jordan Sissel
eb79f504fb Fix execution when /home/jls/projects/logstash is not the root of the git repo. 2013-01-14 22:37:19 +00:00
Jordan Sissel
f0473afe3e make bin/logstash a shell script now that we don't use bundler 2012-11-06 18:01:07 -08:00
Jordan Sissel
2497d14f3c - don't hardcode jruby 2012-02-02 08:31:59 -08:00
Jordan Sissel
f6940e4511 - fix logstash-web / LOGSTASH-129 2011-08-17 01:49:10 -07:00
Jordan Sissel
e98f463fac - fix runners and test launcher 2011-06-30 17:51:35 -07:00
Jordan Sissel
583ed2b90b - Add support for agent '-e' flag - lets you specify a configuration
in a simple string.

  If no inputs are specified, it assumes: stdin { type => stdin }
  If no outputs are specified, it assumes: stdout { debug => true }
  Any given filters default with 'type => stdin' unless otherwise specified.

  https://logstash.jira.com/browse/LOGSTASH-105
2011-06-24 00:13:16 -07:00
Jordan Sissel
c7670bbaf4 - Allow running multiple tools in the same process.
You can now run agent + web in the same ruby process. Coupled with the
  new embedded elasticsearch option, you can now run a single process
  that is your entire logstash system.
2011-06-09 00:31:16 -07:00
Pete Fritchman
c5683fa9f9 use jruby in logstash-web 2011-05-20 10:12:26 -07:00
Jordan Sissel
cf7bcdcddb - add rubygems to the agent runner entry point 2011-04-09 02:49:04 -07:00
Jordan Sissel
0d5451e8cf - got logstash-web working in jruby now 2011-04-02 09:38:10 -07:00
Jordan Sissel
f9173f2cbc - remove extra requires 2011-03-19 12:42:57 -07:00
Jordan Sissel
90b72b4c5a - Move agent flags and settings management into logstash/agent.rb 2011-03-19 00:24:56 -07:00
Jordan Sissel
bbbcf321ef remove old 2011-03-18 22:41:10 -07:00
Pete Fritchman
f65d21bf38 * logstash -v sets debug loglevel, better passing of logger
* fix grok filters to keep one set of @@grokpiles per event type
* use a LogStash::File::Manager for watching globs and missing files
2011-02-20 20:57:45 -08:00
Jordan Sissel
a3ebbec089 - More work towards a config file format. 2011-02-19 19:12:55 -08:00
Pete Fritchman
c081a9eec7 first cut at jruby/threaded logstash 2011-02-16 11:41:48 -08:00
Jordan Sissel
e8f43c15d2 - add additional library checks
- add todo
2011-02-12 22:40:18 -08:00
Jordan Sissel
def6f44d2b - Fix test runner 2010-12-26 21:01:42 -08:00
Jordan Sissel
71ce64cf16 - Log to STDERR, but redirect STDERR/STDOUT according to the log
settings.
2010-12-22 17:18:19 -08:00
Jordan Sissel
29b4a684d6 - Add -v verbose flag 2010-12-07 14:54:13 -08:00
Jordan Sissel
08bd889e84 - don't require 'daemons' anymore 2010-12-07 11:21:50 -08:00
Jordan Sissel
1aa5365e40 - Add '-d' (daemonize)
- Add '-l LOGFILE' (log to a file instead of STDOUT)
- Give the agent's logger to each input/output/filter.
2010-12-07 11:18:39 -08:00
Jordan Sissel
2b14cba4eb - Push a logstash-test script to aid in debugging common logstash setup
problems.
2010-11-29 21:01:25 -08:00
Jordan Sissel
052f62c966 - Move web to lib/logstash/web 2010-11-16 03:38:44 +00:00
Pete Fritchman
3014715d78 automatically include the right lib dir 2010-11-01 01:31:15 +00:00
Pete Fritchman
7e80e89c39 show usage when we encouner option-related problems 2010-10-31 04:54:25 +00:00
Pete Fritchman
f7ad0a0a9a create base classes for inputs/outputs/filters 2010-10-31 04:46:12 +00:00
Pete Fritchman
b9592108b2 mark bin/logstash as executable 2010-10-26 09:40:37 +00:00
Jordan Sissel
694aae5088 - Update packaging
- Split config files
2010-10-18 07:27:03 +00:00
Jordan Sissel
ae50ca1d82 - Move LogStash::Components::Agent to LogStash::Agent 2010-10-18 00:26:02 +00:00
Jordan Sissel
af762f69bb testing websockets 2010-10-17 23:24:48 +00:00
Jordan Sissel
4684f65995 - Purge post-refactor. The older stuff can be found in /tags/pre-agent-refactor 2010-10-17 10:30:22 +00:00
Jordan Sissel
791f15f633 - Add the new refactored agent model.
An agent can read from any input, apply filters, and pass to any output.
    * Inputs are files, amqp, stomp, http server, syslog server, etc.
    * Outputs are similar.
    * Filters are for manipulating events (parsing, adding data, trimming
      private data, etc)
  Inputs so far: amqp, file.
  Outputs so far: amqp, stdout.
  Filters so far: grok (pattern discovery only)

  A sample custom agent is in examples/test.rb
2010-10-17 10:27:38 +00:00
Jordan Sissel
d9c8381754 - Add base for unified invocation binary 2010-10-17 07:13:38 +00:00