Skip to content

Instantly share code, notes, and snippets.

@ubergarm
Last active August 29, 2015 13:56
Show Gist options
  • Save ubergarm/9223729 to your computer and use it in GitHub Desktop.
Save ubergarm/9223729 to your computer and use it in GitHub Desktop.
input {
syslog {
type => syslog
port => 514
}
tcp {
type => "apache-access"
port => 9514
}
tcp {
type => "apache-error"
port => 9515
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
}
output {
stdout {
debug => true
debug_format => "json"
}
elasticsearch {
embedded => true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment