Adding looser/more logstash sources, and fixing a git error with older versions of ansible

This commit is contained in:
2013-11-19 06:41:42 +00:00
parent 5c2e2417af
commit ff1daa0173
2 changed files with 12 additions and 6 deletions

View File

@@ -8,13 +8,17 @@ input {
port => 5514
type => "linux-syslog"
}
}
filter {
grok {
type => "linux-syslog"
pattern => "%{SYSLOGLINE}"
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog", "/var/log/nginx/*.log" ]
}
}
#filter {
# grok {
# type => "linux-syslog"
# pattern => "%{SYSLOGLINE}"
# }
#}
# Define outputs
output {
# send events to stdout for easy debugging