# Elasticsearch health shows RED

**URL:** https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695
**Category:** Elasticsearch
**Created:** [October 2, 2018, 12:17pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695 "2018-10-02T12:17:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![anuragh](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anuragh](https://discuss.elastic.co/u/anuragh)
#### Post date: [October 2, 2018, 12:17pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/1 "2018-10-02T12:17:23Z")

</div>

Currently ES version is 5.4.3 and we are planning to upgrade to latest version.  
But before doing this i need to make the cluster GREEN.Please help  
{"cluster\_name":"TestCluster",  
"status":"red",  
"timed\_out":false,  
"number\_of\_nodes":5,  
"number\_of\_data\_nodes":4,  
"active\_primary\_shards":1662,  
"active\_shards":1914,"relocating\_shards":0,"initializing\_shards":0,  
"unassigned\_shards":3,  
"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":99.8435054773083}

---

<div class="post-metadata">

### Author: ![stuayre](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@stuayre](https://discuss.elastic.co/u/stuayre)
#### Post date: [October 2, 2018, 12:27pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/2 "2018-10-02T12:27:00Z")

</div>

you need to assign the 3 unassigned shards to a node in your cluster

do you have enough free space on your nodes to assign it?

---

<div class="post-metadata">

### Author: ![anuragh](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anuragh](https://discuss.elastic.co/u/anuragh)
#### Post date: [October 2, 2018, 12:59pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/3 "2018-10-02T12:59:16Z")

</div>

I have 2TB of data.How to assign the unassigned shards?

---

<div class="post-metadata">

### Author: ![anuragh](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anuragh](https://discuss.elastic.co/u/anuragh)
#### Post date: [October 2, 2018, 12:59pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/4 "2018-10-02T12:59:36Z")

</div>

i have 2TB storage free space

---

<div class="post-metadata">

### Author: ![stuayre](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@stuayre](https://discuss.elastic.co/u/stuayre)
#### Post date: [October 2, 2018, 1:50pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/5 "2018-10-02T13:50:12Z")

</div>

have a look at \_cluster/reroute

[https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cluster-reroute.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cluster-reroute.html)

---

<div class="post-metadata">

### Author: ![anuragh](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anuragh](https://discuss.elastic.co/u/anuragh)
#### Post date: [October 2, 2018, 2:11pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/6 "2018-10-02T14:11:51Z")

</div>

Thank you .I deleted the corrupted files and restarted the nodes.Now Health shows GREEN.

---

<div class="post-metadata">

### Author: ![stuayre](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@stuayre](https://discuss.elastic.co/u/stuayre)
#### Post date: [October 2, 2018, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/7 "2018-10-02T14:37:04Z")

</div>

Glad you got it sorted! 👍

---

<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: [October 30, 2018, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-health-shows-red/150695/8 "2018-10-30T14:37:06Z")

</div>

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