Thanks @thomasneirynck for the quick response.
I get that. For users that create visualisations via the Kibana UI using the "clicky" option, how could this check be included to make sure all visualisation scripts include it?
Also, would you suggest we upgrade Kibana to the latest version? Would that fix this issue?
@thomasneirynck could you please let us know if there is already a solution for this for Kibana UI visualisations and searches, not the scripted stuff you already answered.
For users that create visualisations via the Kibana UI using the "clicky" option, how could this check be included to make sure all visualisation scripts include it?
for the "clicky"-users nothing really changes in how they should use the UX.
Also, would you suggest we upgrade Kibana to the latest version? Would that fix this issue?
It's more of the other way around. If you upgrade (e.g from 6.x to 7.x), you would need to inspect your existing scripted-fields and see if they need that additional check. So upgrading will require you to add that .size() condition if you're reading out values from a document.
Could it be a bug in Kibana 7.3.2? Would upgrading Kibana be an option worth trying?
Here is another screenshot showing not very descriptive error when trying to view data via Discover:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.