I want to create a request that transmits me all the documents that keyword like "shutdown" for last 15min and one hours
Any advice will be highly appreciated!!!
I want to create a request that transmits me all the documents that keyword like "shutdown" for last 15min and one hours
Any advice will be highly appreciated!!!
I'd use the scroll API with a Range query on the date field using now notation: now/m and now/m-15m
https://www.elastic.co/guide/en/elasticsearch/reference/2.3/common-options.html#date-math
© 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.