# Duplicates were found \[.kibana (alias of \[.kibana\_2/gSBnpInZS6KXHw6xXlP7AA\])\]"

**URL:** <https://discuss.elastic.co/t/duplicates-were-found-kibana-alias-of-kibana-2-gsbnpinzs6kxhw6xxlp7aa/291671>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring, elastic-stack-security\
**Created:** [December 13, 2021, 2:26pm UTC](https://discuss.elastic.co/t/duplicates-were-found-kibana-alias-of-kibana-2-gsbnpinzs6kxhw6xxlp7aa/291671 "2021-12-13T14:26:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siva1233](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@siva1233](https://discuss.elastic.co/u/siva1233)\
**Post date:** [December 13, 2021, 2:26pm UTC](https://discuss.elastic.co/t/duplicates-were-found-kibana-alias-of-kibana-2-gsbnpinzs6kxhw6xxlp7aa/291671/1 "2021-12-13T14:26:27Z")

</div>

Hi All, i'm using Elasticsearch 7.3.0 in kubernetes and Openshift with client,data and master pods, whenever data pod is deleted and after recreated pod i'm getting below error.

{"type": "server", "timestamp": "2021-12-13T14:09:21,193+0000", "level": "DEBUG", "component": "o.e.a.ActionModule", "cluster.name": "Elasticsearch", "node.name": "Elasticsearch-data", "message": "Using REST wrapper from plugin org.Elasticsearch.xpack.security.Security" }  
{"type": "server", "timestamp": "2021-12-13T14:09:21,792+0000", "level": "ERROR", "component": "o.e.g.GatewayMetaState", "cluster.name": "Elasticsearch", "node.name": "Elasticsearch-data", "message": "failed to read or upgrade local state, exiting..." ,  
"stacktrace": ["java.lang.IllegalStateException: index and alias names need to be unique, but the **following duplicates were found [.kibana (alias of [.kibana\_2/gSBnpInZS6KXHw6xXlP7AA])]",**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/021c9bcc8eec7a832628f966e6413c0a58a74319.png)

Once i delete the .kibana\_2 and .kibana\_1 index i'm loosing the index pattern and dashboards in kibana. It's not good for me to delete every time.

If anyone knows it will be great helpful to me.  
Thanks in advance.

---

<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:** [January 10, 2022, 2:27pm UTC](https://discuss.elastic.co/t/duplicates-were-found-kibana-alias-of-kibana-2-gsbnpinzs6kxhw6xxlp7aa/291671/2 "2022-01-10T14:27:23Z")

</div>

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