What are the possible ways to change datatypes in Wazuh Opensearch dashboard?

Hi,
is there a possible way to change datatype of a field from log (created by my custom decoder)? I attach picture, where the field is a “string” by default from decoder but I need to make it datatype “number”. This problem is blocking me from making a visualisation in Opensearch because I can not create visualisation metric based on “sum”. “Sum” metric requires field with datatype “number” but I’ve got only “string” fields…My field contains only numbers ofc.