Try to set the pipelines.yml
- pipeline.id: stdout
queue.type: persisted
config.string: |
input {
beats {
port => 5044
}
}
output {
stdout{}
}
- pipeline.id: kafka
queue.type: persisted
config.string: |
input {
beats {
port => 5044
}
}
output {
kafka {
codec => json
topic_id => "zeek-http"
}
}
Start the logstash: ./bin/logstash --path.settings /Users/dongbing/tool/ELK/logstash-7.4.0/config -t
. But it always indicates:
[2020-03-19T13:04:17,589][DEBUG][logstash.config.source.multilocal] Reading pipeline configurations from YAML {:location=>"/Users/dongbing/tool/ELK/logstash-7.4.0/config/pipelines.yml"}
ERROR: Failed to read pipelines yaml file. Location: /Users/dongbing/tool/ELK/logstash-7.4.0/config/pipelines.ym\