Duplicates logs are available on running the query for same time

Duplicates logs are available on running the query for same time (now-1m)
We are running the query for last now-1m based upon our use case however we seeing duplicates getting generated in Output. Please help with the problem.
Refer here the query

input {
    elasticsearch{
    hosts => ["https://elasticdomain"]
    index => "test*"
    query => '{ "sort" : [ {"@timestamp" : {"order" : "asc"}} ], "query": { "range": { "@timestamp": {"gte": "now-1m"} }}}'
    size => 1000
    docinfo => true
    schedule => "*/1 * * * *"
    user => "admin"
    password => "admin"
   }
}

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

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