Hi
I'm trying to filter my data based on a date field to show me everything for today, in Kibana I can use the KQL query using now/d but I need the equivalent for Lucene, any help? I wouldve thought it'd be the same but it doesnt seem to work
Hi
I'm trying to filter my data based on a date field to show me everything for today, in Kibana I can use the KQL query using now/d but I need the equivalent for Lucene, any help? I wouldve thought it'd be the same but it doesnt seem to work
Hi @ykara84
welcome back to the Kibana community.
Based on this answer I think you could have something like: my_field: [now/d TO *]
That is because the query left an open range on the right. Limiting that to now/d
will fix the range to a single day: my_field: [now/d TO now/d]
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.