Thanks for reading this!
I am getting the following error when running logstash v6.0 with multi pipleline on Centos 7.3:
sudo /usr/share/logstash/bin/logstash
Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties
ERROR: Failed to read pipelines yaml file. Location: /usr/share/logstash/config/pipelines.yml
usage:
bin/logstash -f CONFIG_PATH [-t] [-r] [] [-w COUNT] [-l LOG]
bin/logstash --modules MODULE_NAME [-M "MODULE_NAME.var.PLUGIN_TYPE.PLUGIN_NAME.VARIABLE_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]
bin/logstash -e CONFIG_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]
bin/logstash --help
My pipelines file is as follows:
cat pipelines.yml
-
pipeline.id: infl-remote
path.config: "/etc/logstash/conf.d/logstash-influx-data.conf" -
pipeline.id: elas-remote
path.config: "/etc/logstash/conf.d/logstash-es-data.conf"
I can run each pipeline individually successfully. Pipelines.yml has full permissions.
Any clues?