Current Timestamp in URL query


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.


A query like sql and @timestamp:[now-15m TO now] should work.

Works like a charm. Thanks a ton :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.