Created
March 20, 2015 09:31
-
-
Save sebnmuller/43e3603bd75fd549a582 to your computer and use it in GitHub Desktop.
Logstash Conf for Posten
This file contains 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 { | |
codec => "json" | |
path => ["/Users/sebastienmuller/comperio/projects/posten/tmp/query.log"] | |
} | |
} | |
output { | |
elasticsearch { | |
index => "posten_logs" | |
index_type => "logs" | |
template => "/Users/sebastienmuller/dev/logstash-1.4.2/bin/posten_template.json" | |
template_overwrite => true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment