Skip to content

Instantly share code, notes, and snippets.

@sebnmuller
Created March 20, 2015 09:31
Show Gist options
  • Save sebnmuller/43e3603bd75fd549a582 to your computer and use it in GitHub Desktop.
Save sebnmuller/43e3603bd75fd549a582 to your computer and use it in GitHub Desktop.
Logstash Conf for Posten
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