fix syntax of example configs (inputs need a tag)

This commit is contained in:
Pete Fritchman 2010-12-04 12:21:34 -05:00
parent d9cd132dd8
commit af2fe853da
2 changed files with 4 additions and 3 deletions

View file

@ -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:

View file

@ -1,5 +1,6 @@
# Example config that reads parsed logs from AMQP and prints to stdout
inputs:
all:
- amqp://localhost/topic/parsedlogs
#filters:
#field: