I am using Logstash 6.5 as a service on a windows machine. I have defined a pipelines.yml file that looks like this:
# List of pipelines to be loaded by Logstash
- pipeline.id: filebeat
path.config: "CPA/LogStash/config\logstash-filebeat.conf"
# List of pipelines to be loaded by Logstash
- pipeline.id: K5DLWDBSSIT2909
path.config: "CPA/LogStash/config/logstash-K5DLWDBSSIT2909.conf"
When i run logstash from cmd whitout a parameter like '-f' or '-e' the output is like thiis:
"Cannot read the pipelines file"
Does anyone have any ideea how can i resolve this?
The config files that i defined in the path.config must be in the same place where logstash is installed? I don't override in the command line and is still doesn't work..
Can you post the entire output from logstash when you run it from the command line. Please post it as text, select it, and click on </> in the toolbar above the edit panel. You should then see it displayed in the preview panel on the right like this
I try with slashes and with backslashes and it still doesn't work...I don't know what else to try.
If i run just a conf file without using the pipelines.yml it's all good.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.