“Discover” plugin failed to load after creating the scripting fields.
I’m performing same steps as in Kibana 6.7 version for creating the visualisations and Dashboards . Everything done well but when, I perform same steps in Kibana 7.1 version getting error as given below in screenshot. If I delete the scripted field in Kibana 7.1 Version then “Discover” plugin loads.
I’m trying to extract month and Year from @timestamp field. Below is the script. Working fine in Kibana 6.7 version.
doc['@timestamp'].date.monthOfYear + '/' + doc['@timestamp'].date.year