# Deleting Old Monitoring Indices

**URL:** https://discuss.elastic.co/t/deleting-old-monitoring-indices/90987
**Category:** Elasticsearch
**Created:** [June 27, 2017, 2:55pm UTC](https://discuss.elastic.co/t/deleting-old-monitoring-indices/90987 "2017-06-27T14:55:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)
#### Post date: [June 28, 2017, 9:14am UTC](https://discuss.elastic.co/t/deleting-old-monitoring-indices/90987/2 "2017-06-28T09:14:49Z")

</div>

Hi crickes,

The automatic deletion of old monitoring indices is available only for exporters of type `local` and the retention duration can be configured using the setting `xpack.monitoring.history.duration` if you have a non-basic license (see [https://www.elastic.co/guide/en/x-pack/current/monitoring-settings.html#monitoring-collection-settings](https://www.elastic.co/guide/en/x-pack/current/monitoring-settings.html#monitoring-collection-settings)).

This feature is not available when using `http` exporters, in this case you can use Curator.

---

_[View the full topic](https://discuss.elastic.co/t/deleting-old-monitoring-indices/90987)._
