Logstash - transport and process your logs, events, or other data
Find a file
Juarez Bochi de0bdacbf7 Adds tests for metrics filter and fixes key collision
When using multiple instances of the metrics filter,
the keys collided, making the counters interfere with
each other.
2013-09-19 16:02:13 -03:00
bin Fix syntax 2013-08-31 11:54:12 -07:00
bot Warm welcome to bot,may it serves you well 2013-03-11 07:13:54 +01:00
docs Fixes typo… 2013-09-16 17:55:25 +02:00
etc updated sample 2013-06-30 18:10:59 -04:00
lib Adds tests for metrics filter and fixes key collision 2013-09-19 16:02:13 -03:00
locales - include error in plugin load failures 2013-09-03 17:45:34 -07:00
misc Merge pull request #558 from shuge/master 2013-08-16 15:27:49 -07:00
patterns Add IPv6 grok pattern. 2013-09-04 17:25:55 +01:00
pkg Create /var/lib/logstash for ubuntu 2013-09-03 12:46:43 +01:00
spec Adds tests for metrics filter and fixes key collision 2013-09-19 16:02:13 -03:00
test/jenkins - purge old and unused 'test' directory (everything is rspec now) 2013-06-23 22:57:42 -07:00
.gitignore Merge branch 'master' of https://github.com/mrjcleaver/logstash into mrjcleaver-master 2013-09-03 11:44:21 -07:00
.tailor - add .tailor config 2012-12-03 16:04:27 -08:00
.travis.yml Fix travis builds 2013-09-17 16:25:49 -06:00
CHANGELOG Add graphite codec to CHANGELOG 2013-09-17 14:57:05 -06:00
CONTRIBUTING.md - add CONTRIBUTING docs 2013-09-16 17:23:37 -07:00
CONTRIBUTORS - Add goncha 2013-05-28 16:57:26 -07:00
extract_services.rb - Merge META-INF/services/* files from dependency jars. (#486) 2013-05-28 16:46:43 -07:00
gembag.rb - fix backwards compat 2013-04-25 10:16:13 -07:00
Gemfile fiddling with guard 2013-08-15 13:21:59 -07:00
LICENSE it's 2013! 2013-01-01 21:07:00 -08:00
logstash-event.gemspec . 2013-09-11 11:02:20 -07:00
logstash.gemspec Unbreak twitter input by using the twitter gem. 2013-09-15 12:27:26 +02:00
Makefile Pathing has changed within the kibana project. 2013-09-16 13:43:13 +02:00
pull_release_note.rb Make release note from JIRA and Github 2013-03-11 07:11:23 +01:00
README.md - fix syntax 2013-09-16 17:23:59 -07:00
STYLE.md - clean up style guide a bit 2013-01-03 17:23:36 -08:00

logstash

Build Status

logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). Speaking of searching, logstash comes with a web interface for searching and drilling into all of your logs.

It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.

For more info, see http://logstash.net/

Need Help?

Need help? Try #logstash on freenode irc or the logstash-users@googlegroups.com mailing list.

You can also find documentation on the http://logstash.net site.

Developing

If you don't have JRuby already (or don't use rvm, rbenv, etc), you can have bin/logstash fetch it for you by setting USE_JRUBY:

USE_JRUBY=1 bin/logstash ...

Otherwise, here's how to get started with rvm:

# Install JRuby with rvm
rvm install jruby-1.7.4
rvm use jruby-1.7.4

Now install dependencies:

# Install logstash ruby dependencies
bin/logstash deps

Other commands:

# to use logstash gems or libraries in irb, use the following
# this gets you an 'irb' shell with logstash's environment
bin/logstash irb

# or use irb from the jar
java -jar logstash-<version>-monolithic.jar irb

# Run logstash
bin/logstash agent [options]

# If running bin/logstash agent yields complaints about log4j/other things
# This will download the elasticsearch jars so logstash can use them.
make vendor-elasticsearch

Testing

There are a few ways to run the tests. For development, using bin/logstash rspec <some spec> will suffice:

% bin/logstash rspec spec/filters/grok.rb 
...................

Finished in 0.123 seconds
19 examples, 0 failures

Alternately, if you have just built the flatjar, you can run the tests specifically on those like so:

make flatjar-test

If you want to run all the tests from source (not compiled jar), do:

make test

Finally, like 'bin/logstash rspec' above, you can invoke the jar to run a specific test like so:

% java -jar logstash.jar rspec spec/filters/grok.rb
...................

Finished in 0.346 seconds
19 examples, 0 failures

Building

Releases are available here: http://logstash.objects.dreamhost.com/

If you want to build the jar yourself, run:

make flatjar

You can build rpms and debs, if you need those. Building rpms requires you have fpm, then do this:

make package

Project Principles

  • Community: If a newbie has a bad time, it's a bug.
  • Software: Make it work, then make it right, then make it fast.
  • Technology: If it doesn't do a thing today, we can make it do it tomorrow.

Contributing

All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.

Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.

It is more important to me that you are able to contribute.

For more information about contributing, see the CONTRIBUTING file.