Is there any way to create scripted field on Empty Date field? I want to find pending number of SMS when message Submitted but not Delivered. I am getting Submitted date but delivered Date Empty.
if (doc['SubmittedOn'].value != 'NULL')
{
if (doc['DeliveredOn'].value == 'NULL')
{
return 'Pending'
}
}
But it is not working. Any way to change data type from date to string. ELK stack version 7.14.1
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.