Hi,
Is it possible to have a count of data of a specific field for the past 7 days?
Query:
GET /my-index/_count?q=my-field:*
Results:
{
"count" : 438,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
}
}
The above query is showing results for all dates.