I assume that the Language is painless, but about the other ones I am not sure.
I have tried out several combinations, but it hasn't worked out so far.
If you press the "Get help with the syntax..." link and switch to the "Preview results" tab in the flyout which opens, you can see the specific error you are hitting. Maybe the script is accessing fields that don't exist or something like that.
Thanks for your reply. I still couldn't figure it out, because every time there is just an empty bracket in the preview.
I also tried what is suggested here: Getting empty value in script field in Kibana 5.2.1.
Probably there is a bug in the code which we have to figure out.
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.