# Measuring Shard hits

**URL:** <https://discuss.elastic.co/t/measuring-shard-hits/157750>\
**Category:** Elasticsearch\
**Created:** [November 21, 2018, 4:53pm UTC](https://discuss.elastic.co/t/measuring-shard-hits/157750 "2018-11-21T16:53:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayDev](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jayDev](https://discuss.elastic.co/u/jayDev)\
**Post date:** [November 21, 2018, 4:53pm UTC](https://discuss.elastic.co/t/measuring-shard-hits/157750/1 "2018-11-21T16:53:13Z")

</div>

I have my indexes mostly in time-aligned shards, so each 24 hour period results in a new shard.  
I am interested to know if I can measure the relative search hits per shard across each index.  
The reason for doing this, is so I can identify inefficient retention configuration in certain indexes.  
i.e. If I only see hits for the most recent 7-day rolling window, I can reduce my data retention settings to something closer to 7 days.  
Note: I also have the data pushed to long term storage, so data loss isn't a concern.

Is there a standard way of achieving this?

Thanks.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 21, 2018, 9:55pm UTC](https://discuss.elastic.co/t/measuring-shard-hits/157750/2 "2018-11-21T21:55:08Z")

</div>

If you use the free Monitoring functionality you can see per index query requests.

---

<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:** [December 19, 2018, 9:55pm UTC](https://discuss.elastic.co/t/measuring-shard-hits/157750/3 "2018-12-19T21:55:12Z")

</div>

Closed on December 19, 2018, 9:55pm UTC

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