Kibana error 500 when viewing metrics

I'm having a problem viewing metrics in Kibana. My issue seems identical to this bug report. except the workaround there doesn't solve the problem for me.

Every time I open metrics tab I get the following error:
[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default.

I deleted all metricbeat indices.
I also deleted index template and made sure it was re-created with
metricbeat setup
command before ingesting any new data.

Just in case I also deleted metricbeat index pattern and all visualizations. I don't think this was necessary and I'll probably need to figure out how to restore those next. Kibana reinstall?

I'm running Kibana 7.6.2 with same version of Metricbeat. Tried on two different servers just in case with same result.

I tried ingesting via our normal path of
metricbeat -> logstash -> es
and just to be sure logstash wasn't causing any issues directly
metricbeat -> es

Any ideas?

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