Monthly Index Usage

We have multiple teams using our elasticsearch stack and need to find out how much usage each team uses.
Is there a way to collect the monthly resource usage (CPU, Memory, storage) for a group of indexes without digging through graphs for each index?
I can see index usage with:
GET /"index"/_stats
Is there a way to add a time range to get a monthly total?

Hello and welcome,

How are you creating your indices? Are you using daily indices? Each of your team use some specific index or they may share some indices?

The <index>/_stats API can give you some information about the storage used by each indice.

If you are using daily indices you would need to query this API frequently and store the results somewhere to be able to calculate the monthly average usage.

Indexs are created using index templates.
I am unsure if they are daily indices. They do have dates attached to the end and some indexes rotate quickly
Each team uses their own specific indexes, none of them are shared.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.