Hi There!
I would desire to create a scripted field comparing 2 date fields in Kibana, in particular:
I want to use current date ( new Date().getTime() ) and a date field I indexed already (named expiring date). The comparison I want to do is something like :"if current date is more recent than expiring date return working, if not return expired.
This syntax: new Date().getTime() > doc['expiting date'].value
doesn't work.
Thank you, I read already something similar to that since, as you say, there are dozens of similar topics. The very aim of my request is to create a kind of gantt diagram in Kibana, or something similar to it. I was wondering to create a proper date field as an escamotage to reach my point, but if you guys have a "more direct" suggestion for me, tell me
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.