# Issue with number Node count but showing Green Status in "\_cluster/health"

**URL:** <https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086>\
**Category:** Elasticsearch\
**Created:** [October 13, 2015, 12:54pm UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086 "2015-10-13T12:54:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannan](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kannan](https://discuss.elastic.co/u/kannan)\
**Post date:** [October 13, 2015, 12:54pm UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086/1 "2015-10-13T12:54:05Z")

</div>

Hi,

We have a environment with 5 nodes(Windows) with Elastic search version 0.90.13.

We got a issue, when we checked with "\_cluster/health"

We are got the response "status:green", but number of node was displayed as 4 instead of 5.

Once we restart the Elastic Search Service, then everything was all set - we got 5 nodes with green status.

We are not sure why this issue came, and also not clear how it was get fixed post restarting the Elastic Search Service in the Node.

Request your help to understand why this issue came and how it was get fixed post restart the ES service in the server, and how to provide solution to this problem

Thanks,  
S.Kannan

---

<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:** [October 13, 2015, 1:22pm UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086/2 "2015-10-13T13:22:10Z")

</div>

The green/yellow/red status isn't related to the number of nodes. It's only dependent on whether the necessary number of shards are online. See [https://www.elastic.co/guide/en/elasticsearch/guide/current/\_cluster\_health.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/_cluster_health.html) for the definitions of each color.

If one of your nodes crashed at some point and you had at least one replica of all shards on that machine ES would've recreated the unavailable replicas elsewhere and made the cluster green again.

---

<div class="post-metadata">

**Author:** ![kannan](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kannan](https://discuss.elastic.co/u/kannan)\
**Post date:** [October 14, 2015, 5:35am UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086/3 "2015-10-14T05:35:55Z")

</div>

Thanks Magnus, it was helpful and answered to my question.

---

<div class="post-metadata">

**Author:** ![kannan](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kannan](https://discuss.elastic.co/u/kannan)\
**Post date:** [October 15, 2015, 1:22pm UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086/4 "2015-10-15T13:22:15Z")

</div>

Hi,

The ES cluster status was changing to "Yellow" with a pattern(5.00 pm - 6.00pm on every 4th day and make itself green around 6.30pm), can anyone suggest is there is any known issue associated with this.

We are using ES 0.90.13

Or, please confirm - like, if we mention 3 replica, then when the process was creating shards(at the time of pushing data from SQL DB to ES with NEST Wrapper) at this if I check the cluster/health then will it show "Yellow" and later once the process completed it shows "Green"

---

<div class="post-metadata">

**Author:** ![cbuescher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cbuescher/32/60402_2.png) [@cbuescher](https://discuss.elastic.co/u/cbuescher)\
**Post date:** [October 15, 2015, 2:08pm UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086/5 "2015-10-15T14:08:01Z")

</div>

Cluster status "Yellow" can be expected temporarily when creating new indices or doing bulk-indexing. Without knowing your setup it looks like there is some external job doing this around the time you mentioned every four days. Is that possible?

---

<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:44pm UTC](https://discuss.elastic.co/t/issue-with-number-node-count-but-showing-green-status-in--cluster-health/32086/6 "2017-07-05T23:44:37Z")

</div>


