ansible-playbook-kibana/files/logstash/logstash.conf
2013-07-06 20:21:12 -07:00

27 lines
450 B
Plaintext

# logstash configuration
# Define inputs
input {
syslog {
debug => false
host => "0.0.0.0"
port => 5514
type => "linux-syslog"
}
}
filter {
grok {
type => "linux-syslog"
pattern => "%{SYSLOGLINE}"
}
}
# Define outputs
output {
# send events to stdout for easy debugging
# stdout { debug => true debug_format => "json" }
elasticsearch {
host => "127.0.0.1"
}
}