# How to Automatically delete index file when the hard disk is full

**URL:** <https://discuss.elastic.co/t/how-to-automatically-delete-index-file-when-the-hard-disk-is-full/39984>\
**Category:** Elasticsearch\
**Created:** [January 25, 2016, 2:24am UTC](https://discuss.elastic.co/t/how-to-automatically-delete-index-file-when-the-hard-disk-is-full/39984 "2016-01-25T02:24:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoonanemo](https://avatars.discourse-cdn.com/v4/letter/y/8baadc/32.png) [@yoonanemo](https://discuss.elastic.co/u/yoonanemo)\
**Post date:** [January 25, 2016, 2:24am UTC](https://discuss.elastic.co/t/how-to-automatically-delete-index-file-when-the-hard-disk-is-full/39984/1 "2016-01-25T02:24:55Z")

</div>

Hi, i am a newbie to ELK. Now i meet a problem about storage. After the hard disk storage reaches a certain capacity, I hope to have the stored indexed file backup, packaging and remove index files stored, ELK is a magical thing, i am very glad to join the ELK family. Looking forward to you reply!!!

---

<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:** [January 25, 2016, 3:05am UTC](https://discuss.elastic.co/t/how-to-automatically-delete-index-file-when-the-hard-disk-is-full/39984/2 "2016-01-25T03:05:55Z")

</div>

[Elasticsearch Curator](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html) can do that for you.

---

<div class="post-metadata">

**Author:** ![yoonanemo](https://avatars.discourse-cdn.com/v4/letter/y/8baadc/32.png) [@yoonanemo](https://discuss.elastic.co/u/yoonanemo)\
**Post date:** [January 26, 2016, 3:38am UTC](https://discuss.elastic.co/t/how-to-automatically-delete-index-file-when-the-hard-disk-is-full/39984/4 "2016-01-26T03:38:18Z")

</div>

thank you very much！

---

<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:** [July 5, 2017, 11:21pm UTC](https://discuss.elastic.co/t/how-to-automatically-delete-index-file-when-the-hard-disk-is-full/39984/5 "2017-07-05T23:21:46Z")

</div>


