Failed to read multiple pipeline

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
#- main
# path.config: "/etc/logstash/conf.d/*.conf" test1
path.config: "/etc/logstash/conf.d/second-pipeline.conf"
pipeline.workers: 3 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.

Issue Resolved.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.