Skip to content

Instantly share code, notes, and snippets.

@justincaldwell
Last active August 29, 2015 14:06
Show Gist options
  • Save justincaldwell/a179b497d00012479c30 to your computer and use it in GitHub Desktop.
Save justincaldwell/a179b497d00012479c30 to your computer and use it in GitHub Desktop.
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog",
"/docker/log/sidekiq/*.log", "/docker/log/blackbox/*.log", "/docker/log/console/*.log",
"/docker/log/haproxy/*.log", "/docker/log/nginx/*.log", "/docker/log/assets/*.log"]
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