不为失败找理由,要为成功找方法。

logstash 5.6.3诡异的问题

Logstash | 作者 diji99 | 发布于2017年12月21日 | 阅读数:6314

logstash 5.6.3 配置文件语法检查可以通过,但是
执行logstash -f /etc/logstash/conf.d/
报错如下:
create pipeline {:reason=>"Expected one of #, input, filter, output at line 50, column 1 (byte 1073) after "}
已邀请:

diji99 - 80后

赞同来自:

Sending Logstash's logs to /opt/logstash/logs which is now configured via log4j2.properties
[2017-12-21T20:42:00,602][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"/opt/logstash/modules/netflow/configuration"}
[2017-12-21T20:42:00,605][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"/opt/logstash/modules/fb_apache/configuration"}
[2017-12-21T20:42:00,963][ERROR][logstash.agent           ] Cannot create pipeline {:reason=>"Expected one of #, input, filter, output at line 50, column 1 (byte 1073) after "}

Kevin_Yin

赞同来自:

配置文件有问题啊,好好查查配置文件

diji99 - 80后

赞同来自:

解决了,谢谢

xwu5555

赞同来自:

请问怎么解决的啊?我也遇到一样的问题

要回复问题请先登录注册