# Cluster Health is Yellow

**URL:** <https://discuss.elastic.co/t/cluster-health-is-yellow/133455>\
**Category:** Elasticsearch\
**Created:** [May 28, 2018, 5:40am UTC](https://discuss.elastic.co/t/cluster-health-is-yellow/133455 "2018-05-28T05:40:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![keeshqs](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@keeshqs](https://discuss.elastic.co/u/keeshqs)\
**Post date:** [May 28, 2018, 5:40am UTC](https://discuss.elastic.co/t/cluster-health-is-yellow/133455/1 "2018-05-28T05:40:01Z")

</div>

Hi Experts,

We have implemented a standalone ELK stack (A cluster with one node) for Production.  
I understand that you assign 2 or more replicas in multiple nodes, which in our case is not applicable. When we go to the monitoring dashboard (from Kibana) it says that our Elasticsearch health is yellow and based from the articles I've read so far - it is due to unassigned replicas. Is there a way we could temporarily disable it just to eliminate the 'warning' status?

Thanks,  
Keeshia

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 28, 2018, 7:16pm UTC](https://discuss.elastic.co/t/cluster-health-is-yellow/133455/2 "2018-05-28T19:16:54Z")

</div>

Each index has a setting, `number_of_replicas`, which controls the number of replicas. If you set this to zero then Elasticsearch will not try and allocate any replicas.

---

<div class="post-metadata">

**Author:** ![roshni](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@roshni](https://discuss.elastic.co/u/roshni)\
**Post date:** [May 29, 2018, 6:16am UTC](https://discuss.elastic.co/t/cluster-health-is-yellow/133455/3 "2018-05-29T06:16:19Z")

</div>

Yes, the number of replicas can be set to zero using the following -  
curl -X PUT "\<\>:9200/\<\>/\_settings" -H 'Cont4nt-Type: application/json' -d'  
{  
"number\_of\_replicas": 0  
}

'

---

<div class="post-metadata">

**Author:** ![keeshqs](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@keeshqs](https://discuss.elastic.co/u/keeshqs)\
**Post date:** [May 29, 2018, 12:36pm UTC](https://discuss.elastic.co/t/cluster-health-is-yellow/133455/4 "2018-05-29T12:36:13Z")

</div>

Hello,

Really appreciate your response! 🙂 Issue is fixed.

Regards,  
Keeshia

---

<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 26, 2018, 12:36pm UTC](https://discuss.elastic.co/t/cluster-health-is-yellow/133455/5 "2018-06-26T12:36:21Z")

</div>

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