# Cluster health turns to red

**URL:** https://discuss.elastic.co/t/cluster-health-turns-to-red/304870
**Category:** Logstash
**Created:** [May 16, 2022, 8:44pm UTC](https://discuss.elastic.co/t/cluster-health-turns-to-red/304870 "2022-05-16T20:44:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rachelyang](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@rachelyang](https://discuss.elastic.co/u/rachelyang)
#### Post date: [May 16, 2022, 8:44pm UTC](https://discuss.elastic.co/t/cluster-health-turns-to-red/304870/1 "2022-05-16T20:44:20Z")

</div>

Please have a look at the output of \_cluster/health?pretty

```auto
{
  "cluster_name" : "Elasticsearch",
  "status" : "red",
  "timed_out" : false,
  "number_of_nodes" : 2,
  "number_of_data_nodes" : 2,
  "active_primary_shards" : 364,
  "active_shards" : 364,
  "relocating_shards" : 0,
  "initializing_shards" : 7,
  "unassigned_shards" : 1055,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 11,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 1015,
  "active_shards_percent_as_number" : 25.52594670406732
}

```

And the log file from one node of Elasticsearch:

```auto
[WARN][o.e.c.r.a.DiskThresholdMonitor] [elnode1] high disk watermark [90%] exceeded on [eGoDiOB3RWGqM5gCMvIhBw][elnode2][/var/lib/elasticsearch/nodes/0] free: 7.7gb[8.6%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete

```

Does anyone have idea of how to fix this issue?  
Thanks

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [May 16, 2022, 9:15pm UTC](https://discuss.elastic.co/t/cluster-health-turns-to-red/304870/2 "2022-05-16T21:15:30Z")

</div>

> [@rachelyang](#):
>
> `free: 7.7gb[8.6%]`

Your disk is almost full.

---

<div class="post-metadata">

### Author: ![rachelyang](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@rachelyang](https://discuss.elastic.co/u/rachelyang)
#### Post date: [May 17, 2022, 4:21pm UTC](https://discuss.elastic.co/t/cluster-health-turns-to-red/304870/3 "2022-05-17T16:21:52Z")

</div>

I freed up some disk space, the error was removed.

---

<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: [June 14, 2022, 4:22pm UTC](https://discuss.elastic.co/t/cluster-health-turns-to-red/304870/4 "2022-06-14T16:22:53Z")

</div>

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