Skip to content

Instantly share code, notes, and snippets.

@mikesplain
Forked from pblittle/logstash.conf
Last active August 29, 2015 14:04
Show Gist options
  • Save mikesplain/623aadecf1d0ede5da27 to your computer and use it in GitHub Desktop.
Save mikesplain/623aadecf1d0ede5da27 to your computer and use it in GitHub Desktop.
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/*/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
embedded => true
embedded_http_port => "9500-9600"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment