Hi,
I have been using 2 files for a long time
/path/to/logstash1.conf
/path/to/logstash2.conf
When switching to pipelines.yml I get an error that tells me no config files found in path (all correct path and file names)
[2018-01-02T14:20:19,349][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/path/to/logstash1.conf"}
[2018-01-02T14:20:19,351][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/path/to/logstash2.conf"}
This is wrong because:
The files and path to the files are accessible and readable to logstash, to everyone
The files are correct. They work when I use manual logstash (logstash -f /path/to/logstash1.conf ...)
This doesn't make any sense.
Any advice is much appreciated.
Using recent version 6.x
Just gave it another try.
When path.config is defined in /etc/logstash.yml --> the logs says it ignores pipelines.yml
When path.config is not defined in /etc/logstash.yml --> pipelines.yml is being read BUT I get the "no config files found in path" when this does not make any sense.
The config files in path are the 2 conf files I have been using all the time. They work, they are valid, they are readable.
This mechanism never worked, I am not doing anything complex here, just trying to run a logstash conf file via pipelines.yml
Note that if I un-comment path.config: /etc/logstash/conf.d then logstash ignores pipelines.yml in my case. My guess is it's reverting to logstash.yml because it can't handle the pipelines.yml setting.
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.