# Keeping track of index contents over time

**URL:** <https://discuss.elastic.co/t/keeping-track-of-index-contents-over-time/115679>\
**Category:** Elasticsearch\
**Created:** [January 16, 2018, 9:59am UTC](https://discuss.elastic.co/t/keeping-track-of-index-contents-over-time/115679 "2018-01-16T09:59:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy\_Bowden](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@Guy\_Bowden](https://discuss.elastic.co/u/Guy_Bowden)\
**Post date:** [January 16, 2018, 9:59am UTC](https://discuss.elastic.co/t/keeping-track-of-index-contents-over-time/115679/1 "2018-01-16T09:59:22Z")

</div>

I need a way to monitor a search index over time - for example knowing how many documents are indexed over time grouped by some field/attribute (e.g. how many products of type X, Y and Z are in our index and how has that changed over time)

I can think of ways to do this externally to ES - e.g. query the search engine periodically and store my findings somewhere. Is there another more baked in solution or plugins I should be looking into?

Guy

---

<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:** [January 16, 2018, 10:12am UTC](https://discuss.elastic.co/t/keeping-track-of-index-contents-over-time/115679/2 "2018-01-16T10:12:18Z")

</div>

I believe that watcher which is included in X-Pack (commercial) can do that.

---

<div class="post-metadata">

**Author:** ![Guy\_Bowden](https://avatars.discourse-cdn.com/v4/letter/g/9de0a6/32.png) [@Guy\_Bowden](https://discuss.elastic.co/u/Guy_Bowden)\
**Post date:** [January 18, 2018, 1:54pm UTC](https://discuss.elastic.co/t/keeping-track-of-index-contents-over-time/115679/3 "2018-01-18T13:54:48Z")

</div>

thanks

---

<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:** [February 15, 2018, 1:55pm UTC](https://discuss.elastic.co/t/keeping-track-of-index-contents-over-time/115679/4 "2018-02-15T13:55:07Z")

</div>

Closed on February 15, 2018, 1:55pm UTC

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