# How to bring a Cluster status to Red?

**URL:** <https://discuss.elastic.co/t/how-to-bring-a-cluster-status-to-red/120790>\
**Category:** Elasticsearch\
**Created:** [February 21, 2018, 9:00am UTC](https://discuss.elastic.co/t/how-to-bring-a-cluster-status-to-red/120790 "2018-02-21T09:00:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madhur\_yadav](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@madhur\_yadav](https://discuss.elastic.co/u/madhur_yadav)\
**Post date:** [February 21, 2018, 9:00am UTC](https://discuss.elastic.co/t/how-to-bring-a-cluster-status-to-red/120790/1 "2018-02-21T09:00:17Z")

</div>

I've doing some testing and I want to changes my cluster status from 'Green' to 'Red' .  
Does any one have any idea how can i do this? What changes changes should I perform?

I've tried the methods from the following link but it did not work.

> **[RED Elasticsearch Cluster? Panic no longer](https://www.elastic.co/blog/red-elasticsearch-cluster-panic-no-longer)**
>
> Your cluster is RED - you have unassigned shards and your cluster is not fully operational. Introducing a new Elasticsearch API which will save the day.

---

<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:** [February 23, 2018, 9:58am UTC](https://discuss.elastic.co/t/how-to-bring-a-cluster-status-to-red/120790/2 "2018-02-23T09:58:54Z")

</div>

An unusual request - normally we're trying to get things out of this state! Creating an index whose shards can't be allocated to any nodes will do what you want:

```
PUT /redindex
{"settings":{"routing.allocation.require":{"name":"nonexistent"}}}
```

---

<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:** [March 23, 2018, 9:58am UTC](https://discuss.elastic.co/t/how-to-bring-a-cluster-status-to-red/120790/3 "2018-03-23T09:58:55Z")

</div>

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