sample elasticsearch_river usage

This commit is contained in:
Pete Fritchman 2012-01-05 01:06:35 -05:00
parent c927675376
commit 796bdad0ed

21
etc/examples/esriver.conf Normal file
View file

@ -0,0 +1,21 @@
input {
file {
type => "syslog"
path => "/var/log/messages"
}
}
filter {
grok {
type => "syslog"
pattern => ["%{SYSLOGLINE}"]
}
}
output {
stdout { }
elasticsearch_river {
es_host => "localhost"
amqp_host => "localhost"
}
}