mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
sample elasticsearch_river usage
This commit is contained in:
parent
c927675376
commit
796bdad0ed
1 changed files with 21 additions and 0 deletions
21
etc/examples/esriver.conf
Normal file
21
etc/examples/esriver.conf
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue