# "status" : "yellow"

**URL:** <https://discuss.elastic.co/t/status-yellow/35782>\
**Category:** Elasticsearch\
**Created:** [November 27, 2015, 4:37pm UTC](https://discuss.elastic.co/t/status-yellow/35782 "2015-11-27T16:37:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Ghisleni](https://avatars.discourse-cdn.com/v4/letter/i/5daacb/32.png) [@Ivan\_Ghisleni](https://discuss.elastic.co/u/Ivan_Ghisleni)\
**Post date:** [November 27, 2015, 4:37pm UTC](https://discuss.elastic.co/t/status-yellow/35782/1 "2015-11-27T16:37:50Z")

</div>

Hi to everyone,

I'm a Elasticsearch noob and I'm testing it on my local PC, when I test the health of cluster it returns me status: yellow, what can I do?

**Result of cluster health:**

{  
"cluster\_name" : "elasticsearch\_ivan-dev",  
"status" : "yellow",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 5,  
"active\_shards" : 5,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 5,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 50.0  
}

**my elasticsearch.yml:**

cluster.name: elasticsearch\_ivan-dev  
node.name: ivan\_01\_dev  
path.data: /var/elasticsearch/data  
path.logs: /var/elasticsearch/logs  
bootstrap.mlockall: true  
network.host: 127.0.0.1

---

<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:** [November 27, 2015, 4:55pm UTC](https://discuss.elastic.co/t/status-yellow/35782/2 "2015-11-27T16:55:38Z")

</div>

Yellow is fine.

It just means that replica shards are not assigned.  
If you want it to become green, start a new node. Replicas will be assigned to the new node.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 28, 2015, 1:11pm UTC](https://discuss.elastic.co/t/status-yellow/35782/3 "2015-11-28T13:11:28Z")

</div>

Yellow status means that all data is available but that the requested replication level hasn't been met. With a one-node cluster it's impossible to reach a green state if you have any replicas. To get a green cluster, follow David's advice of adding another node to the cluster _or_ reconfigure your index(es) to have zero replicas.

---

<div class="post-metadata">

**Author:** ![Ivan\_Ghisleni](https://avatars.discourse-cdn.com/v4/letter/i/5daacb/32.png) [@Ivan\_Ghisleni](https://discuss.elastic.co/u/Ivan_Ghisleni)\
**Post date:** [November 30, 2015, 8:24am UTC](https://discuss.elastic.co/t/status-yellow/35782/4 "2015-11-30T08:24:31Z")

</div>

Thank you for your help!! 👍

---

<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:** [July 5, 2017, 11:34pm UTC](https://discuss.elastic.co/t/status-yellow/35782/5 "2017-07-05T23:34:55Z")

</div>


