Created
August 7, 2014 18:29
-
-
Save scottwillson/e3d6f79811b80f353c00 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
file { | |
type => "rails logs" | |
path => "/Users/sw/devel/racing_on_rails/log/logstash_development.log" | |
codec => json { | |
charset => "UTF-8" | |
} | |
} | |
} | |
output { | |
# Print each event to stdout. | |
stdout { | |
codec => rubydebug | |
} | |
elasticsearch { | |
# Setting 'embedded' will run a real elasticsearch server inside logstash. | |
# This option below saves you from having to run a separate process just | |
# for ElasticSearch, so you can get started quicker! | |
embedded => true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment