【发布时间】:2016-06-23 18:38:15
【问题描述】:
我已经开始使用多个 16 岁以上的工人进行 logstash。
我有诸如 java 异常/java 跟踪之类的多行消息,并希望将它们合并到一个事件中。早些时候,它按预期工作,但在升级我的 ELK 堆栈后它就坏了:-(
我的logstash过滤器:
filter {
multiline {
pattern => "(^[a-zA-Z.]+(?:Error|Exception): .+)|(^\s+at .+)|(^\s+... \d+ more)|(^\s*Caused by:.+)"
what => "previous"
}
}
logstash 日志:
:message=>"Warning: Manual override - there are filters that might not work with multiple worker threads", :worker_threads=>16, :filters=>["multiline"], :level=>:warn}
Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.
【问题讨论】:
-
嗨@MitterSinghThakur 如果答案已经解决了您的问题,请考虑接受它。这向更广泛的社区表明您已经找到了解决方案。但没有义务这样做。
标签: java logstash jruby elastic-stack