# Elasticsearch Indices in Red

**URL:** <https://discuss.elastic.co/t/elasticsearch-indices-in-red/27653>\
**Category:** Elasticsearch\
**Created:** [August 19, 2015, 9:14am UTC](https://discuss.elastic.co/t/elasticsearch-indices-in-red/27653 "2015-08-19T09:14:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditya\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Aditya\_Patel](https://discuss.elastic.co/u/Aditya_Patel)\
**Post date:** [August 19, 2015, 9:14am UTC](https://discuss.elastic.co/t/elasticsearch-indices-in-red/27653/1 "2015-08-19T09:14:16Z")

</div>

Hi

I had initially set up elasticsearch to run in background as service. But while restarting the superviosr, it stopped working. I still am not able to run it in background now. But while restarting it manually.

I noticed the following: when i ran this command: curl 'localhost:9200/\_cat/indices?v'

health status index pri rep docs.count docs.deleted store.size pri.store.size  
red open logstash-2015.06.14 5 1  
red open logstash-2015.08.04 5 1  
red open logstash-2015.07.31 5 1

On running the health command for cluster:

curl 'localhost:9200//\_cluster/health?pretty'  
{  
"cluster\_name" : "elasticsearch",  
"status" : "yellow",  
"timed\_out" : false,  
"number\_of\_nodes" : 2,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 456,  
"active\_shards" : 456,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 456  
}

Please, can somebody explain to me "red" status of indices and also how to keep on running elasticsearch in the background.

Thanks alot  
Aditya

---

<div class="post-metadata">

**Author:** ![ZillaG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zillag/32/10505_2.png) [@ZillaG](https://discuss.elastic.co/u/ZillaG)\
**Post date:** [March 15, 2017, 4:37pm UTC](https://discuss.elastic.co/t/elasticsearch-indices-in-red/27653/2 "2017-03-15T16:37:43Z")

</div>

Status is red because of

`"unassigned_shards" : 456`

---

<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, 10:02pm UTC](https://discuss.elastic.co/t/elasticsearch-indices-in-red/27653/3 "2017-07-05T22:02:13Z")

</div>


