I also get this error, but only with the scripted field. Otherwise all fields can be displayed without problems. Search.max_buckets I would not like to increase because only this field causes problems and I don't know to which value I have to change it to make it work.
what type of visualization are you using to visualize the field?
I think only the legacy metric (Kibana > 8.5, or simply Metric before) can handle that - as it won't make sense for other chart types.
I've tried to visualize a runtime date field with the legacy metric visualization in Lens and it worked fine:
I currently use version 7.17.3 . Since I have more dates I would like to display more at once, such as with the Tabele. Unfortunately it does not work with this. I can't find the visualization legacy metric on my end only the normal metric probably because I'm using Kibana 7.17.3 . Did I do something wrong with the conversion from int to date? The dates actually look correct. I have tested several visualizations with this field, none of them works.
I just updated the full ELK up to 8.5.1 .
The scripted field exists in many documents, but when I try to display it, Kibana now says "No field data for the current search".
In the next picture you can see that the field exists and contains data.
But if i want to create a visualization Kibana says.
I also filterd the visualization with documents that only contains this field.