# Index delete by x-pack

**URL:** https://discuss.elastic.co/t/index-delete-by-x-pack/128663
**Category:** Elasticsearch
**Created:** [April 19, 2018, 9:27am UTC](https://discuss.elastic.co/t/index-delete-by-x-pack/128663 "2018-04-19T09:27:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Gaurav\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@Gaurav\_Agarwal](https://discuss.elastic.co/u/Gaurav_Agarwal)
#### Post date: [April 19, 2018, 9:27am UTC](https://discuss.elastic.co/t/index-delete-by-x-pack/128663/1 "2018-04-19T09:27:46Z")

</div>

Hello  
I am new to the ELK stack and using version 5.6.8 for my tool development. Would like to know is there a feature in x-pack to automatically delete the older indexes and can that be customized according to the user.

Regards  
Gaurav

---

<div class="post-metadata">

### Author: ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)
#### Post date: [April 19, 2018, 9:56am UTC](https://discuss.elastic.co/t/index-delete-by-x-pack/128663/2 "2018-04-19T09:56:21Z")

</div>

Hi,

See here for more in regards to curating indices past a certain date time: [https://www.elastic.co/guide/en/elasticsearch/client/curator/current/actions.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/actions.html)

---

<div class="post-metadata">

### Author: ![Gaurav\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@Gaurav\_Agarwal](https://discuss.elastic.co/u/Gaurav_Agarwal)
#### Post date: [April 19, 2018, 10:08am UTC](https://discuss.elastic.co/t/index-delete-by-x-pack/128663/3 "2018-04-19T10:08:24Z")

</div>

Thank you

---

<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: [May 17, 2018, 10:08am UTC](https://discuss.elastic.co/t/index-delete-by-x-pack/128663/4 "2018-05-17T10:08:39Z")

</div>

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