Convert fields of datatype text to int or float in Kibana

You can convert data real time using scripted fields but the performance implications are huge (it will be a lot slower than having those fields indexed as correct data type)