# How to manage index in AWS ES

**URL:** <https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778>\
**Category:** Elasticsearch\
**Created:** [July 5, 2016, 7:16pm UTC](https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778 "2016-07-05T19:16:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanshan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nanshan](https://discuss.elastic.co/u/nanshan)\
**Post date:** [July 5, 2016, 7:16pm UTC](https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778/1 "2016-07-05T19:16:15Z")

</div>

With more and more logs stored on the Elasticsearch, how to manage the size of logs to make sure it will not end up full disks.

I can think if we can create a cron job to delete the olders indices?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 5, 2016, 7:51pm UTC](https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778/2 "2016-07-05T19:51:57Z")

</div>

Have a look at [Curator](https://github.com/elastic/curator).

---

<div class="post-metadata">

**Author:** ![nanshan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nanshan](https://discuss.elastic.co/u/nanshan)\
**Post date:** [July 5, 2016, 8:47pm UTC](https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778/3 "2016-07-05T20:47:41Z")

</div>

I just checked it out. but it was not clear for me that where to add action files

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 6, 2016, 5:27am UTC](https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778/4 "2016-07-06T05:27:42Z")

</div>

It doesn't matter where you place the action files.

---

<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, 10:37pm UTC](https://discuss.elastic.co/t/how-to-manage-index-in-aws-es/54778/5 "2017-07-05T22:37:43Z")

</div>


