Hi,
I am using Kibana v7.17 where I am trying to create new calculated field by comparing the date present in the existing field with hardcoded date.
For e.g. if(doc['trans_date'].value >= "2021-02-15" {emit("FY 2021"}
But here getting error that cannot compare Date with string. How to convert "2021-02-15" to Date type?
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.