2017-09-03 127 views
0

我在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

請讓我知道。

+0

不確定它是否是兼容性問題。無法在兼容性矩陣中看到1.4 - https://www.elastic.co/support/matrix#show_compatibility –

回答