# My monitoring Indexes are very large, what are best practices?

**URL:** <https://discuss.elastic.co/t/my-monitoring-indexes-are-very-large-what-are-best-practices/74423>\
**Category:** Elasticsearch\
**Created:** [February 8, 2017, 7:31pm UTC](https://discuss.elastic.co/t/my-monitoring-indexes-are-very-large-what-are-best-practices/74423 "2017-02-08T19:31:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jbrar](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@Jbrar](https://discuss.elastic.co/u/Jbrar)\
**Post date:** [February 8, 2017, 7:31pm UTC](https://discuss.elastic.co/t/my-monitoring-indexes-are-very-large-what-are-best-practices/74423/1 "2017-02-08T19:31:29Z")

</div>

I have a similar issue as to what was raised in [How to change indexing frequency of X-Pack monitoring plugin?](https://discuss.elastic.co/t/how-to-change-indexing-frequency-of-x-pack-monitoring-plugin/65954) that my .monitoring indexes are disproportionately large in comparison to my created indexes on Elastic.

In looking at the data that is saved with regards to the index\_stats,index\_recovery,Indices\_stats, node\_stats and other mappings nothing seems of note. In looking at xpack.monitoring.collection.interval and xpack.monitoring.history.duration settings, I can make setting changes to increase the interval length and increase the frequency with how often data is being cleaned up. However, I don't know if that solves the problem.

At the end of the day if I increase xpack.monitoring.collection.interval I would be reducing how often monitoring checks up on my cluster, right? If the goal is to maintain the same monitoring frequency but only update the .monitoring collection when something is spotted that is noteworthy (ie. failures, slow performance etc.), what configuration change would I need to make to kibana.yml and elastic.yml?

---

<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:** [February 8, 2017, 9:13pm UTC](https://discuss.elastic.co/t/my-monitoring-indexes-are-very-large-what-are-best-practices/74423/2 "2017-02-08T21:13:18Z")

</div>

> [@Jbrar](#):
>
> At the end of the day if I increase xpack.monitoring.collection.interval I would be reducing how often monitoring checks up on my cluster, right?

Yes.

> [@Jbrar](#):
>
> If the goal is to maintain the same monitoring frequency but only update the .monitoring collection when something is spotted that is noteworthy (ie. failures, slow performance etc.), what configuration change would I need to make to kibana.yml and elastic.yml?

That's not currently possible, it's something we'd like to do have in future.

---

<div class="post-metadata">

**Author:** ![Jbrar](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@Jbrar](https://discuss.elastic.co/u/Jbrar)\
**Post date:** [February 8, 2017, 9:35pm UTC](https://discuss.elastic.co/t/my-monitoring-indexes-are-very-large-what-are-best-practices/74423/3 "2017-02-08T21:35:54Z")

</div>

Fair enough. Thanks so much for the guidance. Much appreciated.

---

<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:** [March 8, 2017, 9:35pm UTC](https://discuss.elastic.co/t/my-monitoring-indexes-are-very-large-what-are-best-practices/74423/4 "2017-03-08T21:35:56Z")

</div>

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