# Changing the Cluster status

**URL:** <https://discuss.elastic.co/t/changing-the-cluster-status/25701>\
**Category:** Elasticsearch\
**Created:** [July 16, 2015, 8:31am UTC](https://discuss.elastic.co/t/changing-the-cluster-status/25701 "2015-07-16T08:31:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)\
**Post date:** [July 16, 2015, 8:31am UTC](https://discuss.elastic.co/t/changing-the-cluster-status/25701/1 "2015-07-16T08:31:42Z")

</div>

Hi,

I have indexed 3 files in Elasticsearch. The cluster health is showing RED in the head plugin and the records in the indexed file is not coming up

The screenshot of the head plugin is given below

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/80c4cebc94d43736dc547da0282b6d2d26e7da44.png)

Cluster health is given below.

{"cluster\_name":"elasticsearch","status":"red","timed\_out":false,"number\_of\_nodes":2,"number\_of\_data\_nodes":1,"active\_primary\_shards":1,"active\_shards":1,"relocating\_shards":0,"initializing\_shards":0,"unassigned\_shards":7,"number\_of\_pending\_tasks":0,"indices":{".kibana":{"status":"yellow","number\_of\_shards":1,"number\_of\_replicas":1,"active\_primary\_shards":1,"active\_shards":1,"relocating\_shards":0,"initializing\_shards":0,"unassigned\_shards":1},"hcg\_inpatient\_alos":{"status":"red","number\_of\_shards":1,"number\_of\_replicas":1,"active\_primary\_shards":0,"active\_shards":0,"relocating\_shards":0,"initializing\_shards":0,"unassigned\_shards":2},"hcg\_v\_patients":{"status":"red","number\_of\_shards":1,"number\_of\_replicas":1,"active\_primary\_shards":0,"active\_shards":0,"relocating\_shards":0,"initializing\_shards":0,"unassigned\_shards":2},"hcg\_revenue":{"status":"red","number\_of\_shards":1,"number\_of\_replicas":1,"active\_primary\_shards":0,"active\_shards":0,"relocating\_shards":0,"initializing\_shards":0,"unassigned\_shards":2}}}

Please help me in getting out of this issue. Don't know what to do

Thanks & Regards,  
Sanjay Reddy

---

<div class="post-metadata">

**Author:** ![Jason\_Wee](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)\
**Post date:** [July 16, 2015, 8:58am UTC](https://discuss.elastic.co/t/changing-the-cluster-status/25701/2 "2015-07-16T08:58:05Z")

</div>

red is not good. that could due to many reason, what you can do is to go to every node in the es cluster and check the log first. you can also using bigdesk or using command line on the health status of the node, restart the node if the node is not in the cluster and wait the cluster goes into yellow state.

hth

---

<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 6, 2017, 12:01am UTC](https://discuss.elastic.co/t/changing-the-cluster-status/25701/3 "2017-07-06T00:01:05Z")

</div>


