Scripted Fields in Kibana 4.5.3


#1

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.

Any help would be appreciated.


#2

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.


#3

I have figured out the solution, i don't need to use the scripted field. I have refreshed the fields in kibana and the field is coming as number.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.