I want to get the value of total volume of data ingested on any index in Elasticsearch. What is the right way to do it? There are multiple pipelines pushing data to it and I do not have control over the data sources so I have to obtain it at Elasticsearch only.
_cat/indices will give you a short text output, the Monitoring dashboards will give you a more visual one.
I think I might have created a little confusion there. There was two volumes that need to be looked at. One is volume of data that is coming in. Another is the volume that the indexed data takes up in the nodes. I am interested in the former. The API that you are suggesting seems to be useful for the latter.
We don't track the incoming volume in GB. There are indexing requests per second, that's about as close as you can come.