How can I define valueType in Kibana 5.0 script? I am trying to define the following script: { "script": { "lang": "painless", "inline": "doc['someField'].value", "valueType": "string" } }
Eventually, I want to create a a JSON Input script on a number field that manipulates its numeric value and returns a string (to be more concrete, the field holds duration in seconds and I want Kibana's visualization to display it as xx:yy where xx is the number of minutes and yy is the number of seconds).
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.