簡體   English   中英

Filebeat> Logstash> ElasticSearch - Lumberjack錯誤

[英]Filebeat > Logstash > ElasticSearch - Lumberjack Error

試圖讓Filebeat與logstash一起使用。 目前我收到此錯誤:

2016/11/14 04:54:27.721478 output.go:109: DBG  output worker: publish 2047 events
2016/11/14 04:54:27.756650 sync.go:85: ERR Failed to publish events caused by: lumberjack protocol error
2016/11/14 04:54:27.756676 single.go:91: INFO Error publishing events (retrying): lumberjack protocol error
2016/11/14 04:54:28.782729 sync.go:85: ERR Failed to publish events caused by: lumberjack protocol error
2016/11/14 04:54:28.782756 single.go:91: INFO Error publishing events (retrying): lumberjack protocol error
2016/11/14 04:54:30.786983 sync.go:85: ERR Failed to publish events caused by: lumberjack protocol error
2016/11/14 04:54:30.787017 single.go:91: INFO Error publishing events (retrying): lumberjack protocol error
2016/11/14 04:54:34.808528 sync.go:85: ERR Failed to publish events caused by: lumberjack protocol error
2016/11/14 04:54:34.808578 single.go:91: INFO Error publishing events (retrying): lumberjack protocol error

有沒有人有解決方案或者你可以指出我正確的方向?

Filebeat v5和logstash v5。

在本地這樣做。

謝謝!

可能是因為您的logstash對您的文件標簽不可見。 請以節拍作為輸入開始您的logstash。 我在第31311號端口上啟動了我的logstash。

    input {
  beats {
    host => "0.0.0.0"
    port => 31311
  }
}

filebeat.yml中的配置:默認情況下是ElasaticSearch輸出。 請對其進行評論並取消注釋logstash輸出配置。 它應該如下所示。

output.logstash:
  # The Logstash hosts
  hosts: ["localhost:31311"]

如果您在這兩者之間設置了任何身份驗證,請注意。 在完成此配置后,我能夠將我的消息看到logstash,最后在Kibana中。 希望它會奏效。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM