Hello!
Im trying to get the document count by index but I have only been able to get a total count or the count per index of a few.
attempts:
GET */_search
{
"size": 0,
"aggs": {
"indices": {
"terms": {
"field": "_index"
}
}
}
}
GET _cat/indices?v&h=docs.count
GET _cat/indices?v&h=docs.count&h=index
Any idea?