ElasticSearch MetricBeat indexing issue


(Ratnakar Sadasyula) #1

Hi

I have installed MetricBeat on my Windows system. And started it. In the configuration metricbeats.yml I have set the elasticsearch property as follows

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_

Now when I start my MetricBeat, I repeatedly get this message in the logs

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

What is the issue here?

Is it due to compatibility? My ElasticSearch version is 1.4.x and MetricBeats is 5.5.x

Please do let me know.


(Mark Walkom) #2

Per MetricBeat compatibility with ElasticSearch, you need a newer version of Elasticsearch.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.