Convert string field in number using painless script in existing index kibana

Hi Team,I have one index in which I have one string field that I want to convert in int type using painless script in kibana tool.

How I can do it.Please let me know.

1 Like

hi @kanchan,

from the painless documentation,, it seems you can use Integer.parseInt(...).

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