# Deleting Indexes

**URL:** <https://discuss.elastic.co/t/deleting-indexes/227213>\
**Category:** Elasticsearch\
**Created:** [April 8, 2020, 9:41pm UTC](https://discuss.elastic.co/t/deleting-indexes/227213 "2020-04-08T21:41:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrickr](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@patrickr](https://discuss.elastic.co/u/patrickr)\
**Post date:** [April 8, 2020, 9:41pm UTC](https://discuss.elastic.co/t/deleting-indexes/227213/1 "2020-04-08T21:41:55Z")

</div>

I am relatively new to ELK and have noticed that our server isn't deleting old Logstash indexes.  
If I need to create a Lifecycle policy I can't seem to find instructions for doing that with these records.  
If I attempt to create an Index Template, the associated index appears to stop working correctly.  
Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [April 9, 2020, 12:39am UTC](https://discuss.elastic.co/t/deleting-indexes/227213/2 "2020-04-09T00:39:45Z")

</div>

If you aren't using ILM, it may be easier to use the old [Curator](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.8/index.html) methods. It lets you mange indices by age and the process can be scheduled with cron.

---

<div class="post-metadata">

**Author:** ![patrickr](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@patrickr](https://discuss.elastic.co/u/patrickr)\
**Post date:** [April 9, 2020, 12:56am UTC](https://discuss.elastic.co/t/deleting-indexes/227213/3 "2020-04-09T00:56:31Z")

</div>

It was my understanding that Curator was deprecated.  
I haven't found any documentation on how to create an ILM for logstash indexes that are being created without a template.  
Is that possible? It seems like it should be.

---

<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 7, 2020, 12:56am UTC](https://discuss.elastic.co/t/deleting-indexes/227213/4 "2020-05-07T00:56:43Z")

</div>

Closed on May 7, 2020, 12:56am UTC

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