mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
17 lines
347 B
YAML
17 lines
347 B
YAML
# Example config that reads parsed logs from AMQP and prints to stdout
|
|
inputs:
|
|
linux-syslog:
|
|
- file:///var/log/messages
|
|
filters:
|
|
- grok:
|
|
linux-syslog:
|
|
patterns:
|
|
- %{SYSLOGLINE}
|
|
- grep:
|
|
linux-syslog:
|
|
- match:
|
|
@message: test
|
|
add_fields:
|
|
filter_test: hello world
|
|
outputs:
|
|
- stdout:///debug
|