# Old index in red state after creating cluster

**URL:** <https://discuss.elastic.co/t/old-index-in-red-state-after-creating-cluster/138581>\
**Category:** Elasticsearch\
**Created:** [July 4, 2018, 2:47pm UTC](https://discuss.elastic.co/t/old-index-in-red-state-after-creating-cluster/138581 "2018-07-04T14:47:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadia](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@nadia](https://discuss.elastic.co/u/nadia)\
**Post date:** [July 4, 2018, 2:47pm UTC](https://discuss.elastic.co/t/old-index-in-red-state-after-creating-cluster/138581/1 "2018-07-04T14:47:23Z")

</div>

hello  
i have created cluster of 2 nodes  
node1: master node  
node2: data node

the cluster state is red because the old index existing before creating my cluster are in red state.

i would like to know if i can turn my old index to green state and not lose them.

thanks in advance for your replay

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [July 6, 2018, 2:19pm UTC](https://discuss.elastic.co/t/old-index-in-red-state-after-creating-cluster/138581/2 "2018-07-06T14:19:55Z")

</div>

Could you run [cluster allocation explain api](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/cluster-allocation-explain.html) for this index to see why it's red?

---

<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:** [August 3, 2018, 2:30pm UTC](https://discuss.elastic.co/t/old-index-in-red-state-after-creating-cluster/138581/3 "2018-08-03T14:30:40Z")

</div>

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