# Index management aws

**URL:** <https://discuss.elastic.co/t/index-management-aws/236045>\
**Category:** Logstash\
**Created:** [June 6, 2020, 4:57pm UTC](https://discuss.elastic.co/t/index-management-aws/236045 "2020-06-06T16:57:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranjini](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@ranjini](https://discuss.elastic.co/u/ranjini)\
**Post date:** [June 6, 2020, 4:57pm UTC](https://discuss.elastic.co/t/index-management-aws/236045/1 "2020-06-06T16:57:56Z")

</div>

Elastic search cluster is managed by AWS. My requirement is to delete the index older than 5 days.

Below are the things have done.

1. Through kibana , I have created policy.
2. I applied policy for the index pattern through indices.

how to apply these policy for newly creating index every day.

---

<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 4, 2020, 4:58pm UTC](https://discuss.elastic.co/t/index-management-aws/236045/2 "2020-07-04T16:58:00Z")

</div>

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