Skip to content

Instantly share code, notes, and snippets.

@pegasuskim
Forked from dbaba/logstash.conf
Created November 17, 2016 09:30
Show Gist options
  • Save pegasuskim/769d6d3515d76dad320eb5b44f666b9f to your computer and use it in GitHub Desktop.
Save pegasuskim/769d6d3515d76dad320eb5b44f666b9f to your computer and use it in GitHub Desktop.
LogStash configuration file for Storm
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
file {
type => "storm"
path => [ "/var/log/storm/*.log" ]
start_position => "beginning"
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
embedded => true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment