Convert/cast string/term to float/double in Kibana Visualization

I want to convert string to float within a Kibana visualization (as the title already indicates). I found this answer on Stackoverflow. Unfortunately it doesn't work for me. How could I get this to work? (I can not change the variable type itself)

(green is just some random float variable since I need it for the average aggregation, blue is the string variable that I want to convert to a float value, yellow is just a time field)

Could you use a scripted field instead of using the advanced json input?

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