# How to remove auto indexes in Kibana?

**URL:** <https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140>\
**Category:** Kibana\
**Created:** [June 22, 2020, 6:56pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140 "2020-06-22T18:56:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![impkos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/impkos/32/54609_2.png) [@impkos](https://discuss.elastic.co/u/impkos)\
**Post date:** [June 22, 2020, 6:56pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140/1 "2020-06-22T18:56:47Z")

</div>

![why](https://us1.discourse-cdn.com/elastic/original/3X/5/8/58aaf5b64da61ccf1208f3e54f242824639fedbf.jpeg)

Help remove indexes

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [June 22, 2020, 7:05pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140/2 "2020-06-22T19:05:17Z")

</div>

Hello @impkos,  
What do you mean by auto indexes?

ILM history indices store the history of the events performed on ILM.  
For the Filebeat or Heartbeat indices, those are there because you have those clients sending data to Elasticsearch and they're rotated using ILM rollover.

In order to remove them after a specific amount of time, you have to edit the ILM policy.

---

<div class="post-metadata">

**Author:** ![impkos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/impkos/32/54609_2.png) [@impkos](https://discuss.elastic.co/u/impkos)\
**Post date:** [June 22, 2020, 7:21pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140/3 "2020-06-22T19:21:54Z")

</div>

I need to remove them forcibly, without waiting for the use of ILM

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [June 22, 2020, 7:40pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140/4 "2020-06-22T19:40:09Z")

</div>

You can delete them with the delete API or from the Kibana UI (index management), but always keep the latest index (the one with the higher counter) per index type.

---

<div class="post-metadata">

**Author:** ![impkos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/impkos/32/54609_2.png) [@impkos](https://discuss.elastic.co/u/impkos)\
**Post date:** [June 22, 2020, 7:51pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140/5 "2020-06-22T19:51:24Z")

</div>

Thank you so much !

---

<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:** [July 20, 2020, 7:51pm UTC](https://discuss.elastic.co/t/how-to-remove-auto-indexes-in-kibana/238140/6 "2020-07-20T19:51:34Z")

</div>

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