Skip to content

Instantly share code, notes, and snippets.

@behrendtio
Last active August 29, 2015 14:19
Show Gist options
  • Save behrendtio/27a18cfef9327b72a5d9 to your computer and use it in GitHub Desktop.
Save behrendtio/27a18cfef9327b72a5d9 to your computer and use it in GitHub Desktop.
Logstash docker
input {
tcp {
port => 5000
type => syslog
}
udp {
port => 5000
type => 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