# Cleaning indexes or overwriting indexes automatically

**URL:** <https://discuss.elastic.co/t/cleaning-indexes-or-overwriting-indexes-automatically/374791>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [February 20, 2025, 5:46am UTC](https://discuss.elastic.co/t/cleaning-indexes-or-overwriting-indexes-automatically/374791 "2025-02-20T05:46:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![website](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/website/32/141503_2.png) [@website](https://discuss.elastic.co/u/website)\
**Post date:** [February 20, 2025, 5:46am UTC](https://discuss.elastic.co/t/cleaning-indexes-or-overwriting-indexes-automatically/374791/1 "2025-02-20T05:46:31Z")

</div>

I deployed elasticsearch with suricata, now suricata has filled up the disk space, I wanted to increase the indexes with a period of more than 30 days or configure elasticsearch itself so that it overwrites the indexes automatically, tell me how to configure it?

---

<div class="post-metadata">

**Author:** ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)\
**Post date:** [February 21, 2025, 8:17pm UTC](https://discuss.elastic.co/t/cleaning-indexes-or-overwriting-indexes-automatically/374791/2 "2025-02-21T20:17:06Z")

</div>

Hi @website ,

Have you read the instructions here?

> **[Index lifecycle management | Elastic Observability \[8.17\] | Elastic](https://www.elastic.co/guide/en/observability/current/apm-ilm-how-to.html)**

---

<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 21, 2025, 8:17pm UTC](https://discuss.elastic.co/t/cleaning-indexes-or-overwriting-indexes-automatically/374791/3 "2025-03-21T20:17:55Z")

</div>

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