Hi all!
Can i get via API info about indicies but like pattern (index1*,index2*)?
I get info by API "GET /_cat/indices?h=index,store.size&bytes=kb&format=json"
and result like:
[
{
"index" : "index1-2020.12.16",
"store.size" : "130"
},
{
"index" : "index2-2020.07.27",
"store.size" : "370"
},
{
"index" : "index1-2020.07.28",
"store.size" : "100"
},
{
"index" : "index2-2020.07.29",
"store.size" : "350"
}
]
but i want get this result:
[
{
"index" : "index1-*",
"store.size" : "230"
},
{
"index" : "index2-*",
"store.size" : "720"
}
]
This is possible?