Executing following query
curl -s -XGET http://blah:9200/kgacrm-2022.04.15/_count?pretty=true {"query": {"range" : {"timestamp": { "gte" : "now-15m", "lt" : "now"}}}}
{
"count" : 1725,
"_shards" : {
"total" : 5,
"successful" : 5,
"skipped" : 0,
"failed" : 0
}
}
It's returning me count for all the documents in the index. But when I look at the last 15 minutes through Kibana it's returning me 4 records. What's the issue with my query?