Skip to content

Instantly share code, notes, and snippets.

@pblittle
Created September 5, 2014 04:19
Show Gist options
  • Save pblittle/0b937485fa4a322ea9eb to your computer and use it in GitHub Desktop.
Save pblittle/0b937485fa4a322ea9eb to your computer and use it in GitHub Desktop.
Use a linked container running Elasticsearch
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch_http {
host => "ES_HOST"
port => "ES_PORT"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment