- file input, grok and date filters, stdout and elasticsearch outputs.

Works again. Good milestone for the jruby migration!
This commit is contained in:
Jordan Sissel 2011-02-27 02:08:52 -08:00
parent 1e4f70522b
commit 13ec55c86c

30
etc/agent.conf.example Normal file
View file

@ -0,0 +1,30 @@
input {
file {
path => [ "/var/log/messages", "/var/log/*.log" ]
type => "linux-syslog"
}
}
filter {
grok {
type => "linux-syslog"
pattern => "%{SYSLOGLINE}"
}
date {
type => "linux-syslog"
timestamp => "MMM dd HH:mm:ss"
timestamp8601 => ISO8601
}
}
output {
stdout {
debug => true
}
elasticsearch {
index => "logstash"
type => "%{@type}"
}
}