'access _cat/indices information using query string query

When you run either curl http://<node_ip>:9200/_cat/indices or GET _cat/indices (the latter one in the Dev Tools console, you get a summary of all the indices present in your cluster, as well as some size and counts statistics.

Is there a way to access that information via query string query?

I mean, is there an internal ES index with all that information available, that I can query to get the same/similar information?



Solution 1:[1]

No there isn't. That information is not kept in an index, but in the cluster state which is stored in a different location.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Val