0

我已经在我的 Windows 系统上安装了 MetricBeat。并开始了它。在配置 metricbeats.yml 我设置了 elasticsearch 属性如下

output.elasticsearch:
_ # Array of hosts to connect to._
_ hosts: [“10.193.164.145:9200”]_
_ template.name: “metricbeat”_
_ template.path: “metricbeat.template.json”_
_ template.overwrite: false_

现在,当我启动 MetricBeat 时,我在日志中反复收到此消息

Can not index event (status=400): "MapperParsingException[mapping [default]]; nested: MapperParsingException[No handler for type [keyword] declared on field [hostname]]; "

这里有什么问题?

是因为兼容性吗?我的 ElasticSearch 版本是 1.4.x 而 MetricBeats 是 5.5.x

请务必让我知道。

4

2 回答 2

0

我认为现在没有任何矩阵支持带有 5.x metrixbeat 的弹性 1.x 系列。但您可以在此处交叉检查兼容性矩阵 产品兼容性矩阵

您也可以查看以下文档以供参考。不确定这可能对您的问题有帮助。 弹性产品寿命终止日期

于 2017-11-08T18:04:04.900 回答
0

1.4似乎不再受支持。 https://discuss.elastic.co/t/metricbeat-compatibility-with-elasticsearch/99213

于 2017-11-08T17:45:49.033 回答