Skip to content

Instantly share code, notes, and snippets.

@tsudot
Created March 6, 2014 23:25
Show Gist options
  • Save tsudot/9401898 to your computer and use it in GitHub Desktop.
Save tsudot/9401898 to your computer and use it in GitHub Desktop.
input {
udp {
port => 5666
type => syslog
}
}
filter {
grok {
type => "syslog"
pattern => "%{TIMESTAMP_ISO8601:timestamp} %{WORD:auth_id} %{SYSLOGPROG:prog} - %{LOGLEVEL:log_level}: %{GREEDYDATA:message}"
}
}
output {
elasticsearch_http {
host => "184.173.XX.XX"
type => "syslog"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment