# Red Index

**URL:** <https://discuss.elastic.co/t/red-index/172986>\
**Category:** Elasticsearch\
**Created:** [March 19, 2019, 1:55pm UTC](https://discuss.elastic.co/t/red-index/172986 "2019-03-19T13:55:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flamecube667](https://avatars.discourse-cdn.com/v4/letter/f/a87d85/32.png) [@Flamecube667](https://discuss.elastic.co/u/Flamecube667)\
**Post date:** [March 19, 2019, 1:55pm UTC](https://discuss.elastic.co/t/red-index/172986/1 "2019-03-19T13:55:11Z")

</div>

Hello, i use Elasticsearch version 6.3.2.  
I do not understand why some indexes are red and i don't know how to fix it.

I tried to re-assign thoose index or set replica to a specific value as i saw in multiple discussion but it won't work, the cluster remain red.

I only use Elasticsearch and Kibana for the moment.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 19, 2019, 2:01pm UTC](https://discuss.elastic.co/t/red-index/172986/2 "2019-03-19T14:01:42Z")

</div>

The [cluster allocation explain API](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/cluster-allocation-explain.html) is your best bet for explaining why a shard cannot be allocated.

There might also be useful information in the logs, but I'd start with the allocation explain API.

---

<div class="post-metadata">

**Author:** ![Flamecube667](https://avatars.discourse-cdn.com/v4/letter/f/a87d85/32.png) [@Flamecube667](https://discuss.elastic.co/u/Flamecube667)\
**Post date:** [March 20, 2019, 12:48pm UTC](https://discuss.elastic.co/t/red-index/172986/3 "2019-03-20T12:48:08Z")

</div>

Here is the result of "GET /\_cluster/allocation/explain"

Apparently there is no enought disk space available on nodes. I will modify this then i will see the others error message.

* * *

{  
"index": "packetbeat-6.3.2-2019.01.16",  
"shard": 2,  
"primary": false,  
"current\_state": "unassigned",  
"unassigned\_info": {  
"reason": "INDEX\_CREATED",  
"at": "2019-01-15T23:00:10.783Z",  
"last\_allocation\_status": "no\_attempt"  
},  
"can\_allocate": "no",  
"allocate\_explanation": "cannot allocate because allocation is not permitted to any of the nodes",  
"node\_allocation\_decisions": [  
{  
"node\_id": "F9zybqiaSaeCnvRz4UEVPg",  
"node\_name": "slave1",  
"transport\_address": "10.8.20.23:9300",  
"node\_attributes": {  
"ml.machine\_memory": "8375582720",  
"ml.max\_open\_jobs": "20",  
"xpack.installed": "true",  
"ml.enabled": "true"  
},  
"node\_decision": "no",  
"weight\_ranking": 1,  
"deciders": [  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the low watermark cluster setting [cluster.routing.allocation.disk.watermark.low=85%], using more disk space than the maximum allowed [85.0%], actual free: [8.419130532566642%]"  
}  
]  
},  
{  
"node\_id": "TSdFUY4mRWawRpm58nu3Tw",  
"node\_name": "slave2",  
"transport\_address": "10.8.20.25:9300",  
"node\_attributes": {  
"ml.machine\_memory": "8375586816",  
"ml.max\_open\_jobs": "20",  
"xpack.installed": "true",  
"ml.enabled": "true"  
},  
"node\_decision": "no",  
"weight\_ranking": 2,  
"deciders": [  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the low watermark cluster setting [cluster.routing.allocation.disk.watermark.low=85%], using more disk space than the maximum allowed [85.0%], actual free: [8.356054272857268%]"  
}  
]  
},  
{  
"node\_id": "\_y7W0Sj8T\_yMpuldDVoERQ",  
"node\_name": "master1",  
"transport\_address": "10.8.20.15:9300",  
"node\_attributes": {  
"ml.machine\_memory": "12603424768",  
"xpack.installed": "true",  
"ml.max\_open\_jobs": "20",  
"ml.enabled": "true"  
},  
"node\_decision": "no",  
"weight\_ranking": 3,  
"deciders": [  
{  
"decider": "same\_shard",  
"decision": "NO",  
"explanation": "the shard cannot be allocated to the same node on which a copy of the shard already exists [[packetbeat-6.3.2-2019.01.16][2], node[\_y7W0Sj8T\_yMpuldDVoERQ], [P], s[STARTED], a[id=L45pqkHEQQethNJOxgzd\_Q]]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the low watermark cluster setting [cluster.routing.allocation.disk.watermark.low=85%], using more disk space than the maximum allowed [85.0%], actual free: [8.495947625982657%]"  
}  
]  
}  
]  
}

* * *

---

<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:** [April 17, 2019, 12:48pm UTC](https://discuss.elastic.co/t/red-index/172986/4 "2019-04-17T12:48:11Z")

</div>

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