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

在做产品研发环境部署是,发现一个错,记录下来,以给遇到同样问题的筒子们

报错信息:

[troll@standalone logstash-6.4.3]$ bin/logstash -f data-conf/zipkin-server.conf 
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2018-11-07T22:06:31,926][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2018-11-07T22:06:34,956][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"6.4.3"}
[2018-11-07T22:06:35,299][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/home/troll/softs/logstash-6.4.3/data-conf/zipkin-server.conf"}
[2018-11-07T22:06:35,348][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2018-11-07T22:06:36,660][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}

具体错误:

[2018-11-07T22:06:35,348][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

##错误分析
遇到该问题通常有几种原因造成:

  • 配置文件没有读取权限
  • 配置文件不存在
  • 文件名错误
  • 其他的我也没遇到过啦,有遇到的希望在下面反馈,供大家学习~~

即使是老司机如果不经常倒腾,也很容易生疏了,还是要多注意细节~~

你可能感兴趣的:(解决logstash报错[ERROR][logstash.config.sourceloader] No configuration found in the configured sources.)