Invalid mapping error in metricbeat 7.16.2

I am facing the below error in my metricbeat index in kibana

illegal_state_exception: invalid mapping definition, expected a single map underneath [_doc] but it was: [{_meta={beat=metricbeat, version=7.16.2}, dynamic_templates

I have an ILM policy whose hot phase is set at 1-day rollover, this is working fine for the first 2 days, and after 3rd day this mapping error in showing up in this metricbeat index in kibana

The version of metricbeat : 7.16.2 version

Can somebody pls help

Please share the entire error that you are seeing.

Hi Mark,

The entire error message is very big, and when I am pasting it on this forum in the reply, it is not allowed and pops up this message: "The body is limited to 35000 characters; you entered 223842."

Can you please share with me your email ID so I can send you the entire error message over it?

Can you please message me your email ID so I can send you the entire error message over it?

You can use gist/pastebin/etc and link us to it.

Hi Mark,

Please find the below link where I have kept the entire error message for your review. Please let me know where I am going wrong.

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