Logstash shut down in spite of my pipelines.yml is configured

Hello, I have test my pipeline by running logstash with "-f path/to/my_pipeline.conf" and everything worked very well.
So now I would like to run logstash using my pipeline without the "-f", so I configured my pipelines.yml (as below). But I have Error that says "No configuration found in the configured files" and "Logstash shutdown". Althought, everything seems to be configured correctly according to elastic documentation and examples...

 - pipeline.id: myPipeline
   pipeline.workers: 1
   pipeline.batch.size: 1
   path.config: "D:/Programs/Elastic_Stack/logstash-7.6.0/config/conf.d/my_pipeline.conf"

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