# Delete Indices older than 30 days

**URL:** <https://discuss.elastic.co/t/delete-indices-older-than-30-days/96630>\
**Category:** Elasticsearch\
**Created:** [August 10, 2017, 2:31pm UTC](https://discuss.elastic.co/t/delete-indices-older-than-30-days/96630 "2017-08-10T14:31:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [August 11, 2017, 3:23pm UTC](https://discuss.elastic.co/t/delete-indices-older-than-30-days/96630/3 "2017-08-11T15:23:39Z")

</div>

> [@waterwalker23](#):
>
> I found info stating to use the following command `curator --host localhost delete indices --older-than 30 --time-unit days --timestring %Y-%m-%dt%H`

Unfortunately, that info is for Curator v3. Curator is currently on version 5. @shanec has given you links to the current documentation, which is for Elasticsearch v5.

In the event that you are using Elasticsearch 2.x, Curator v4 is still downloadable. The documentation for Curator v4 will be available via dropdown in the [official documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html).

---

_[View the full topic](https://discuss.elastic.co/t/delete-indices-older-than-30-days/96630)._
