您的当前位置:首页正文

logstash报错[ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

2024-11-28 来源:个人技术集锦
[root@localhost bin]# ./logstash -f first-pipeline.conf --config.test_and_exit
[2019-11-03T22:08:35,997][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2019-11-03T22:08:36,154][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/usr/local/logstash/bin/first-pipeline.conf"}
[2019-11-03T22:08:36,178][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

报错信息如上,遇到这种情况大致是这几个原因

1、配置文件没有读取权限;
2、配置文件不存在;
3、文件名与运行的文件名不匹配;
显示全文