# Bit help against yellow cluster

**URL:** <https://discuss.elastic.co/t/bit-help-against-yellow-cluster/181517>\
**Category:** Elasticsearch\
**Created:** [May 17, 2019, 6:16am UTC](https://discuss.elastic.co/t/bit-help-against-yellow-cluster/181517 "2019-05-17T06:16:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 17, 2019, 6:16am UTC](https://discuss.elastic.co/t/bit-help-against-yellow-cluster/181517/1 "2019-05-17T06:16:38Z")

</div>

Every time I check the health of an index it show yellow. There are 5 primaries & 1 replicas

 ![yellow%20cluster%20health](https://us1.discourse-cdn.com/elastic/original/3X/4/2/4262210718856eb40fc9dc6e39e312590d657b32.png)   
I've also executed curl 10.1.109.5:9200/\_cat/indices?v & it's output was 5p 1r. Along with this also executed curl 10.1.109.5:9200/\_cat/shards?v and it's output looks like  
logstash\_apchelogs-2019.05.15 4 p STARTED 314922 183.9mb 10.11.109.5 d4s8Zyj  
logstash\_apchelogs-2019.05.15 4 r UNASSIGNED  
logstash\_apchelogs-2019.05.15 2 p STARTED 313971 181.5mb 10.11.109.5 d4s8Zyj  
logstash\_apchelogs-2019.05.15 2 r UNASSIGNED  
logstash\_apchelogs-2019.05.15 3 p STARTED 314587 182mb 10.11.109.5 d4s8Zyj  
logstash\_apchelogs-2019.05.15 3 r UNASSIGNED  
logstash\_apchelogs-2019.05.15 1 p STARTED 314388 183mb 10.11.109.5 d4s8Zyj  
logstash\_apchelogs-2019.05.15 1 r UNASSIGNED  
logstash\_apchelogs-2019.05.15 0 p STARTED 315084 182.6mb 10.11.109.5 d4s8Zyj  
logstash\_apchelogs-2019.05.15 0 r UNASSIGNED  
Now how can I change it's ealth to Green??

---

<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:** [May 17, 2019, 7:49am UTC](https://discuss.elastic.co/t/bit-help-against-yellow-cluster/181517/2 "2019-05-17T07:49:16Z")

</div>

Most likely you have only one node in your cluster.

You can:

- start other nodes so replicas will be allocated
- change the number of replicas to 0
- stay in this situation because in a test context, that can be perfectly fine

---

<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:** [June 14, 2019, 7:49am UTC](https://discuss.elastic.co/t/bit-help-against-yellow-cluster/181517/3 "2019-06-14T07:49:24Z")

</div>

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