# How to learn index with most queries?

**URL:** https://discuss.elastic.co/t/how-to-learn-index-with-most-queries/287407
**Category:** Elasticsearch
**Created:** [October 22, 2021, 6:35am UTC](https://discuss.elastic.co/t/how-to-learn-index-with-most-queries/287407 "2021-10-22T06:35:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Busra\_Duygu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/busra_duygu/32/90462_2.png) [@Busra\_Duygu](https://discuss.elastic.co/u/Busra_Duygu)
#### Post date: [October 22, 2021, 6:35am UTC](https://discuss.elastic.co/t/how-to-learn-index-with-most-queries/287407/1 "2021-10-22T06:35:30Z")

</div>

Hello dear friends, I would like to ask you a question that has been on my mind before. This question is: I wonder if we can find which indexes get the most queries. So I have more than one index and these indexes are used for different things. If I can find the indexes with the most queries, this will give me information about which site has the most traffic. Is it possible to do this with monitoring?

---

<div class="post-metadata">

### Author: ![Iker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iker/32/91708_2.png) [@Iker](https://discuss.elastic.co/u/Iker)
#### Post date: [October 22, 2021, 7:10am UTC](https://discuss.elastic.co/t/how-to-learn-index-with-most-queries/287407/3 "2021-10-22T07:10:02Z")

</div>

You could use the stats API for every index:

> **[Index stats API | Elasticsearch Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html)**

---

<div class="post-metadata">

### Author: ![Busra\_Duygu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/busra_duygu/32/90462_2.png) [@Busra\_Duygu](https://discuss.elastic.co/u/Busra_Duygu)
#### Post date: [October 22, 2021, 7:27am UTC](https://discuss.elastic.co/t/how-to-learn-index-with-most-queries/287407/4 "2021-10-22T07:27:21Z")

</div>

Thank you for replying I will try this 🤗

---

<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: [November 19, 2021, 7:28am UTC](https://discuss.elastic.co/t/how-to-learn-index-with-most-queries/287407/5 "2021-11-19T07:28:18Z")

</div>

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