Multiple pipelines : failed to read pipelines yaml file

Hello,

I try to use multiple piplelines but I always encounter this error without any log to help me to resolve the problem.

PS C:\Users\agiffard\logstash-6.1.1> bin/logstash
Sending Logstash's logs to C:/Users/agiffard/logstash-6.1.1/logs which is now configured via log4j2.properties
[2017-12-29T17:11:14,623][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"C:/Users/agiffard/logstash-6.1.1/modules/fb_apache/configuration"}
[2017-12-29T17:11:14,677][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"C:/Users/agiffard/logstash-6.1.1/modules/netflow/configuration"}
ERROR: Failed to read pipelines yaml file. Location: C:/Users/agiffard/logstash-6.1.1/config/pipelines.yml

My pipelines.yml file contains :

  • pipeline.id: my-first-pipeline
    path.config: "C:\Users\agiffard\logstash-6.1.1\config\p1\first-pipeline.conf"
    pipeline.workers: 1
  • pipeline.id: my-second-pipeline
    path.config: "C:\Users\agiffard\logstash-6.1.1\config\p2\second-pipeline.conf"
    pipeline.workers: 3

Have you already this problem ?

Thanks.

Hello,

Try removing the full path and reverse your slashes.

Ex:
path.config: "/p1/first-pipeline.conf"

or

path.config: "p1/first-pipeline.conf"

Hello,

Yes, it works better with your solution.
I write : path.config: "config/p1/first-pipeline.conf"

thanks !

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