Visualize not showing any values after Upgrading our ELK cluster

Hi All,

We have recently upgraded our older ELK cluster which was on 6.3.2 to 6.8.23. We have tested the functionalities and messages are loading, Dashboards are working fine, and search in Discover is also working

But if we try to visualize something. No Result is obtained after the upgrade date. The visualize also shows data before the upgrade.

There is no error shown in kibana logs while the following logs are received in Elasticsearch logs

=======
Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default. Set fielddata=true on [info.type] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

Kindly suggest a method to rectify our issue so that the we could get results in visulaize also

look at the mappings on that field in the index that error usually means you are trying to use / aggregate on a text field instead of a keyword field, That is a very common error.

If I had to guess you are not using / lost / need to update the mapping for that index.

This often happens when no mapping is specified and elasticsearch then generates a default mapping which is not correct data type for the visualization.

can you show before and after the mapping on that index?

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