I have installed logstash though yum by installing the public key. I have configured the pipelines.yml for multiple pipelines and the configuration is below. Location of pipelines.yml: /usr/share/logstash/config/pipelines.yml
#- pipeline.id: main
# path.config: "/etc/logstash/conf.d/*.conf"
-pipeline.id: test1
path.config: "/etc/logstash/conf.d/second-pipeline.conf"
pipeline.workers: 3
-pipeline.id: other1
path.config: "/etc/logstash/conf.d/third-pipeline.conf"
queue.type: persisted
But I get an error everytime I start Logstash by command /usr/share/logstash/bin/logstash
Error: Failed to read pipelines yaml file. Location: /usr/share/logstash/config/pipelines.yml
I have separately tested the second-pipeline and third-pipeline conf and they were perfectly okay.