Skip to content

Instantly share code, notes, and snippets.

@mahnve
Last active August 29, 2015 14:02
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 mahnve/cb9814c6c985141b31dc to your computer and use it in GitHub Desktop.
Save mahnve/cb9814c6c985141b31dc 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" ]
start_position => "beginning"
}
}
output {
stdout {
codec => rubydebug
debug => true
}
elasticsearch {
bind_host => "172.16.1.93"
port => 9200
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment