# Anyway to delete monitoring data periodically when pushing data to remote cluster?

**URL:** https://discuss.elastic.co/t/anyway-to-delete-monitoring-data-periodically-when-pushing-data-to-remote-cluster/205608
**Category:** Elasticsearch
**Created:** [October 29, 2019, 7:37am UTC](https://discuss.elastic.co/t/anyway-to-delete-monitoring-data-periodically-when-pushing-data-to-remote-cluster/205608 "2019-10-29T07:37:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![akshaymaniyar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshaymaniyar/32/45836_2.png) [@akshaymaniyar](https://discuss.elastic.co/u/akshaymaniyar)
#### Post date: [October 29, 2019, 7:37am UTC](https://discuss.elastic.co/t/anyway-to-delete-monitoring-data-periodically-when-pushing-data-to-remote-cluster/205608/1 "2019-10-29T07:37:39Z")

</div>

xpack.monitoring.history.duration =\> This setting currently only impacts `local` -type exporters. Indices created using the `http` exporter will not be deleted automatically.

Is there any direct way of such retention policy for data being exported via http or will I manually have to write rollup polices for those indexes?

---

<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 26, 2019, 7:37am UTC](https://discuss.elastic.co/t/anyway-to-delete-monitoring-data-periodically-when-pushing-data-to-remote-cluster/205608/2 "2019-11-26T07:37:39Z")

</div>

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