# Why kibana is making two indices

**URL:** https://discuss.elastic.co/t/why-kibana-is-making-two-indices/221812
**Category:** Kibana
**Created:** [March 3, 2020, 5:55am UTC](https://discuss.elastic.co/t/why-kibana-is-making-two-indices/221812 "2020-03-03T05:55:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tbhaxor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbhaxor/32/63588_2.png) [@tbhaxor](https://discuss.elastic.co/u/tbhaxor)
#### Post date: [March 3, 2020, 5:55am UTC](https://discuss.elastic.co/t/why-kibana-is-making-two-indices/221812/1 "2020-03-03T05:55:36Z")

</div>

Before running kibana instance i deleted all the indices. What is see is kibana is making 2 indices, earlier it was used to create only one **`.kibana`**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07f7dc09bad63b9b3adf1deba73930d932e36f9b.png)

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [March 17, 2020, 4:50am UTC](https://discuss.elastic.co/t/why-kibana-is-making-two-indices/221812/2 "2020-03-17T04:50:30Z")

</div>

When changes are necessary, a new incremental `.kibana_N` index is created with updated mappings, then the saved objects are loaded in batches from the existing index, transformed to whatever extent necessary, and added to this new index.  
Once the objects are migrated, the `.kibana` index alias is updated to point to the new index, and Kibana finishes starting up and serving HTTP traffic.  
That's why you are seeing the other .kibana\_2 index. The is caused by stopping the process which is in charge of handling the migration. So if you are in the process of migration/upgrade you do see the .kibana\_2 index as well.

Hope this helps  
Thanks  
Rashmi

---

<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: [April 14, 2020, 4:50am UTC](https://discuss.elastic.co/t/why-kibana-is-making-two-indices/221812/3 "2020-04-14T04:50:31Z")

</div>

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