ZBLOG

"message":"Failed to connect to backoff(elasticsearch(http://192.168.0.67:9201)): Connection marked as failed because the onConnect callback failed: Elasticsearch is too old. Please upgrade the instance. If you would like to connect to

这个问题的错误信息告诉我们连接Elasticsearch失败,因为它太旧了。您需要将Filebeat配置文件中的output.elasticsearch.allow_older_versions设置为true,以允许连接到旧版本的Elasticsearch。

在您的Filebeat配置文件中添加以下内容:

output.elasticsearch:
  allow_older_versions: true
  hosts: ["192.168.0.67:9201"]

然后重新启动Filebeat并再次尝试连接到Elasticsearch。注意,此选项可能会降低安全性,并且仅应用于连接到较旧版本的Elasticsearch时使用。如果您能够升级Elasticsearch实例,则不建议使用此选项。

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://golang.0voice.com/?id=3225

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?