Skip to content

Instantly share code, notes, and snippets.

@ashleyconnor
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashleyconnor/5c4332f866b9bb658e75 to your computer and use it in GitHub Desktop.
Save ashleyconnor/5c4332f866b9bb658e75 to your computer and use it in GitHub Desktop.
input {
tcp { port => 3333 type => "json" }
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
embedded => ES_EMBEDDED
host => "ES_HOST"
port => "ES_PORT"
protocol => "http"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment