Elastic query string with time range

Hi , i want to query me elastic but to add also a time range like last 5 min, so it wont pull all the results under that index.
i get the messages results but again i want to limit this to spesific time range
p.s: i tried filter range, but it didnt help. maybe im doing something wrong.
thanks
request:


response query:

Did you intend to post this question in the Logstash forum? It appears to be entirely about Elasticsearch.

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