I have a scripted field of the format "Date". When I try using this field in Kibana visualization and apply a filter like "date > now-30d",
I am getting an error:
caused_by": {
"type": "date_time_parse_exception",
"reason": "Text 'now-15d' could not be parsed at index 0"
}
The field works fine when used for Date Histogram. Please suggest what is wrong and what can be done to fix this.
I have also tried using DateFormatter and return millis, but getting a different error "toInstant" method is not found (as ES is trying to convert the output of this script to Instant)
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.