Warning in Logstash Log


Could you please help me figuring out how to get rid of these deprecation warnings?

I have used ELK version(7.3.1).
Elasticsearch Version: 7.3.1
Logstash Version :7.3.1
Kibana Version :7.3.1

[71][2019-10-04T05:24:57,048][WARN ][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the type event field won't be used to determine the document _type {:es_version=>7}

Why this warning occurred in logstash logs.

It is part of the removal of mapping types. If you are not setting the type field and expecting to the determine _type in elasticsearch then you can ignore it.

Hi @Badger,

Thanks for quick reply basically I can't setting type filed but in kibana dashboards for metricbeat index pattern I can see Field type (attached screenshot might be helpful) .

My logstash output.elasticsearch configuration is:
output {
elasticsearch {
hosts => [""]
manage_template => false
index => "%{[event_type]}-7.3.1-%{[agent][hostname]}-%{+YYYY.ww}"
id => "metricbeat_4"

where event_type is metricbeat index pattern.

Then I think you can ignore the error.

Thanks a lot

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