# Cost by indicies

**URL:** https://discuss.elastic.co/t/cost-by-indicies/355558
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [March 17, 2024, 11:14am UTC](https://discuss.elastic.co/t/cost-by-indicies/355558 "2024-03-17T11:14:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rreknar](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@rreknar](https://discuss.elastic.co/u/rreknar)
#### Post date: [March 17, 2024, 11:14am UTC](https://discuss.elastic.co/t/cost-by-indicies/355558/1 "2024-03-17T11:14:52Z")

</div>

Hello,

I a working with one of the use cases where in I need to know what is the actual cost I am paying to elastic based on indices. For example, if I have 5 indices Index1,Index2,index3,index4 and index5 I would like to know that index1 cost is 2$, index = 10$ an so on.

Any idea how to get these?

Any suggestions or help would really appreciated

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 17, 2024, 12:09pm UTC](https://discuss.elastic.co/t/cost-by-indicies/355558/2 "2024-03-17T12:09:04Z")

</div>

Welcome!

Which service are you talking about? Are you running on Elastic Cloud?  
Are you like sharing the same cluster for multiple users?

---

<div class="post-metadata">

### Author: ![rreknar](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@rreknar](https://discuss.elastic.co/u/rreknar)
#### Post date: [March 17, 2024, 9:38pm UTC](https://discuss.elastic.co/t/cost-by-indicies/355558/3 "2024-03-17T21:38:17Z")

</div>

We are using Elastic Cloud. We are using the same cluster for multiple users/teams.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 17, 2024, 10:41pm UTC](https://discuss.elastic.co/t/cost-by-indicies/355558/4 "2024-03-17T22:41:33Z")

</div>

I don't think there's such a tool. The easiest way IMO is to have one cluster per team. Specifically if it's for different use cases.

Otherwise, if it's for the same use case, may be you could build a dashboard which tracks the number of documents per index.  
And then, compute the cost of each index:

cost\_index1 = total\_cost \* nb\_of\_docs1 / total\_nb\_docs

It's not a FinOps tool as per say but at least something to start from. But please note that the cost based only on the number of docs might not be accurate...

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 14, 2024, 10:42pm UTC](https://discuss.elastic.co/t/cost-by-indicies/355558/5 "2024-04-14T22:42:08Z")

</div>

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