Filebeat 无法连接到 elasticsearch

Filebeat is unable to connect to elasticsearch

Filebeat 无法连接到 elk。 filebeat 日志文件显示以下错误。

pipeline/output.go:154 无法连接到退避(elasticsearch(http://X.X.X.X:9200)):连接标记为失败,因为 onConnect 回调失败:无法连接到 Elasticsearch 的兼容版本: 400 Bad Request: {"error":{"root_cause":[{"type":"invalid_index_name_exception","re​​ason":"Invalid index name [license], 必须不要以“”开头。","index_uuid":"na","index":"_license"}],"type":" invalid_index_name_exception","re​​ason":"无效的索引名称 [license],不能以 '' 开头。","index_uuid":"na","index":"_license"},"status":400}

filebeat 版本 7.13.2 麋鹿版本 7.5.1

有人可以帮忙吗?谢谢

如果您的 ELK 版本是开源的,那么由于 breaking change,7.13 Beats 将无法使用它。从 7.13 开始,Beats 将仅适用于 Elastic 发行版。