mirror of
https://github.com/elastic/logstash.git
synced 2025-04-22 05:37:21 -04:00
13 lines
278 B
YAML
13 lines
278 B
YAML
# Example config that reads parsed logs from AMQP and prints to stdout
|
|
inputs:
|
|
linux-syslog:
|
|
- file:///var/log/messages
|
|
filters:
|
|
- grep:
|
|
linux-syslog:
|
|
- match:
|
|
@message: test
|
|
add_fields:
|
|
filter_test: hello world
|
|
outputs:
|
|
- stdout:///
|