I have the following query in dev tools in Kibana that works well for me, without determining a search time.
GET /example*/_count
{
"query": {
"query_string": {
"query" : "(API002) AND (operation)"
}
}
}
Now I want to make this query within a specific time but I could not. I try this and with some modifications but it doesn't work for me.
GET /example*/_count
{
"query": {
"query_string": {
"query" : "(API002) AND (operation)"
},
"range" : {
"gte": "2019-09-16 00:00:00",
"lte": "now",
"time_zone": "+01:00"
}
}
}