mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
fix syntax of example configs (inputs need a tag)
This commit is contained in:
parent
d9cd132dd8
commit
af2fe853da
2 changed files with 4 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
|||
# Example config that parses rawlogs with grok and puts them on another AMQP topic
|
||||
inputs:
|
||||
all:
|
||||
- amqp://localhost/topic/rawlogs
|
||||
outputs:
|
||||
- amqp://localhost/topic/parsedlogs
|
||||
- stdout:///
|
||||
filters:
|
||||
grok:
|
||||
- grok:
|
||||
linux-syslog: # for logs tagged 'linux-syslog'
|
||||
timestamp:
|
||||
timestamp:
|
||||
key: date
|
||||
format: %b %e %H:%M:%S
|
||||
patterns:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Example config that reads parsed logs from AMQP and prints to stdout
|
||||
inputs:
|
||||
all:
|
||||
- amqp://localhost/topic/parsedlogs
|
||||
#filters:
|
||||
#field:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue