Hi,
Could someone help me in forming URL query to fetch logs of the past fifteen minutes.
Am looking for something like:
http://localhost:9200/_search?q="sql" AND @timestamp:"2016-11-16T17:33:19"
Please help me what should be used in the @timestamp parameter.
Regards, Hari
A query like sql and @timestamp:[now-15m TO now] should work.
sql and @timestamp:[now-15m TO now]
Works like a charm. Thanks a ton
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.