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.
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.
hi @kanchan,
from the painless documentation, https://www.elastic.co/guide/en/elasticsearch/painless/6.x/painless-api-reference.html#painless-api-reference-Integer, it seems you can use Integer.parseInt(...)
.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.