我在Windows系统上安装了MetricBeat。并开始它。在配置metricbeats.yml我已经设置了elasticsearch属性如下ElasticSearch MetricBeat映射问题
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
请让我知道。
不确定它是否是兼容性问题。无法在兼容性矩阵中看到1.4 - https://www.elastic.co/support/matrix#show_compatibility –