# Understanding Cluster health from local node

**URL:** https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765
**Category:** Elasticsearch
**Created:** [October 24, 2018, 9:40am UTC](https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765 "2018-10-24T09:40:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sss/32/31486_2.png) [@sss](https://discuss.elastic.co/u/sss)
#### Post date: [October 24, 2018, 9:40am UTC](https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765/1 "2018-10-24T09:40:48Z")

</div>

Hello,

what does it mean to do GET /\_cluster/health? with local = true passed as query parameter

ElasticSearch documentation says  
If true returns the local node information and does not provide the state from master node. Default: false.

Does this mean that setting local to true will give a cluster health as seen from local node ? or does it tell about the state of the indices/shards that are present in local node as opposed to masternode. If latter holds true, what does the status green|red|yellow status indicate since we are talking about only 1 node and not the master

In what scenarios setting local to true and setting local to false will give different results?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 24, 2018, 9:42am UTC](https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765/2 "2018-10-24T09:42:39Z")

</div>

> [@sss](#):
>
> Does this mean that setting local to true will give a cluster health as seen from local node

Yes, you could use it to tell if there's been a split brain for eg.

---

<div class="post-metadata">

### Author: ![sss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sss/32/31486_2.png) [@sss](https://discuss.elastic.co/u/sss)
#### Post date: [October 24, 2018, 9:45am UTC](https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765/3 "2018-10-24T09:45:03Z")

</div>

does this also mean,  
when there is no split brain, setting local to true is same as setting to false ?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 24, 2018, 9:46am UTC](https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765/4 "2018-10-24T09:46:17Z")

</div>

The results should be the same, yes.

---

<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: [November 21, 2018, 9:46am UTC](https://discuss.elastic.co/t/understanding-cluster-health-from-local-node/153765/5 "2018-11-21T09:46:19Z")

</div>

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