# How to auto delete empty indices?

**URL:** <https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095>\
**Category:** Elasticsearch\
**Created:** [September 26, 2018, 11:55pm UTC](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095 "2018-09-26T23:55:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xlbrlx](https://avatars.discourse-cdn.com/v4/letter/x/7ab992/32.png) [@xlbrlx](https://discuss.elastic.co/u/xlbrlx)\
**Post date:** [September 26, 2018, 11:55pm UTC](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095/1 "2018-09-26T23:55:26Z")

</div>

Hi there,

What are ways to auto delete empty indices on elasticsearch 6.2?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 27, 2018, 12:18am UTC](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095/2 "2018-09-27T00:18:23Z")

</div>

There's no such thing in elasticsearch.  
You need to use an external tool for that.

I don't think that curator does that but I didn't check. @theuntergeek ?

---

<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:** [September 27, 2018, 2:09am UTC](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095/3 "2018-09-27T02:09:16Z")

</div>

Actually, [that feature has been merged, but not released](https://github.com/elastic/curator/pull/1263).

---

<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:** [October 25, 2018, 2:09am UTC](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095/4 "2018-10-25T02:09:30Z")

</div>

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