# Delete indices by date (Elasticsearch 8.7)

**URL:** <https://discuss.elastic.co/t/delete-indices-by-date-elasticsearch-8-7/330750>\
**Category:** Elasticsearch\
**Created:** [April 25, 2023, 2:19pm UTC](https://discuss.elastic.co/t/delete-indices-by-date-elasticsearch-8-7/330750 "2023-04-25T14:19:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [April 25, 2023, 3:15pm UTC](https://discuss.elastic.co/t/delete-indices-by-date-elasticsearch-8-7/330750/2 "2023-04-25T15:15:14Z")

</div>

Hi @Suren_Baboyan,

Welcome to the community! You can use ILM to delete older indices. Here are some resources to help you get started:

- [Discuss topic: how to delete the indices older than 30 days](https://discuss.elastic.co/t/how-to-delete-the-indices-older-than-30-days/242182)
- [ILM: Manage the Index Lifecycle](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html)
- [Tutorial: Automate rollover with ILM](https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html)
- [Configure a lifecycle policy](https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-lifecycle-policy.html)
- [ILM with Logstash](https://www.youtube.com/watch?v=Ybbk44mkOE0)

---

_[View the full topic](https://discuss.elastic.co/t/delete-indices-by-date-elasticsearch-8-7/330750)._
