Logbeat的Filebeat-InvalidFrameProtocolException

问题描述 投票:0回答:1

我正在尝试使文件拍与Logstash一起使用。我的文件拍在远程主机上运行,​​logstash在我的本地上。低于异常。

[2017-11-07T17:05:54,659][INFO ][logstash.agent  ] Successfully started Logstash API endpoint {:port=>9600}
[2017-11-07T17:13:27,889][INFO ][org.logstash.beats.BeatsHandler] Exception: org.logstash.beats.BeatsParser$**InvalidFrameProtocolException**: Invalid Frame Type, received: 69, from: /192.168.50.167:41370

文件格式版本:5.6.3

logstash版本:5.6.3

logstash.conf:

input {
  beats {
    port => "5044"
  }
}
output {
  stdout { codec => rubydebug }
}
logstash elastic-stack filebeat
1个回答
0
投票

如果未按如下所示在filebeat.yml中设置logstash,则可能会发生这种情况

output.logstash:
  # The Logstash hosts
  hosts: ["IP:5043"] 


© www.soinside.com 2019 - 2024. All rights reserved.