ansible-playbook-kibana/files/logstash/logstash.conf

31 lines
595 B
Plaintext
Raw Normal View History

2013-07-07 03:21:12 +00:00
# logstash configuration
# Define inputs
input {
syslog {
debug => false
host => "0.0.0.0"
port => 5514
type => "linux-syslog"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog", "/var/log/nginx/*.log" ]
2013-07-07 03:21:12 +00:00
}
}
#filter {
# grok {
# type => "linux-syslog"
# pattern => "%{SYSLOGLINE}"
# }
#}
2013-07-07 03:21:12 +00:00
# Define outputs
output {
# send events to stdout for easy debugging
# stdout { debug => true debug_format => "json" }
elasticsearch {
host => "127.0.0.1"
}
}