How to covert a field type to a numeric if that fields exists in the doc. I have done the conversion in logstash script, but its not reflecting as number in kibana. So i am trying the scripted fields to convert it at kibana level.
I am simply using doc['field_name'].value and its working if the field is there in doc, but if the doc doesn't have that field its throwing exception in discover while accessing the results. This field will be there in few documents only.
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.