Can you try to run the following?
Please paste the full response.
GET %3C.monitoring-es-6-%7Bnow%2Fd%7Byyyy.MM.dd%7D%7D%3E/_search
{
"size": 1,
"query": {
"bool": {
"filter": [
{
"range": {
"timestamp": {
"from": "now-30m",
"to": "now"
}
}
},
{
"prefix": {
"index_stats.index": "my_index_name-"
}
}
]
}
},
"aggs": {
"indices": {
"terms": {
"field": "index_stats.index",
"size": 20
},
"aggs": {
"statistics": {
"stats": {
"field": "index_stats.total.docs.count"
}
}
}
},
"total_max": {
"sum_bucket": {
"buckets_path": "indices>statistics.max"
}
},
"total_min": {
"sum_bucket": {
"buckets_path": "indices>statistics.min"
}
}
}
}
If you get no response, please check if the cluster has an index with prefix my_index_name-