# Elasticsearch rollup question

**URL:** <https://discuss.elastic.co/t/elasticsearch-rollup-question/263095>\
**Category:** Elasticsearch\
**Created:** [February 3, 2021, 8:35am UTC](https://discuss.elastic.co/t/elasticsearch-rollup-question/263095 "2021-02-03T08:35:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesp220291](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jamesp220291](https://discuss.elastic.co/u/jamesp220291)\
**Post date:** [February 3, 2021, 8:35am UTC](https://discuss.elastic.co/t/elasticsearch-rollup-question/263095/1 "2021-02-03T08:35:57Z")

</div>

hI

I Just have a question re the rollup feature.

if i have a index, attached to a ILM which deletes the index after 30 days.

if i roll this up daily, does the rollup job also delete the index once it has completed, or will it leave the index to be deleted by the ILM?

not sure if rollups are destructive jobs or not, or if you then have to manually/delete the indexs another way. cant find an awnser in the docs.

---

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [February 4, 2021, 10:46pm UTC](https://discuss.elastic.co/t/elasticsearch-rollup-question/263095/2 "2021-02-04T22:46:08Z")

</div>

Rollup jobs will not delete indices.  
One good option, as you mentioned, is using ILM.

---

<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 4, 2021, 10:47pm UTC](https://discuss.elastic.co/t/elasticsearch-rollup-question/263095/3 "2021-03-04T22:47:06Z")

</div>

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