Elasticsearch Cluster Health Red: How to Fix It

Share
Workaround available Self-hosted, Elastic Cloud Updated November 15, 2026Based on 2 user reportsHow we research

Quick answer

Red means at least one primary shard is unassigned, so some data is unavailable. Use the allocation explain API to see why, and restore the node or a snapshot before forcing anything.

Most likely fix: Diagnose

How to fix it

Try these in order — the most common fix is first.

  1. 1. Diagnose

    1. GET _cluster/health?level=indices to find red indices
    2. GET _cat/shards?v and look for UNASSIGNED primaries
    3. GET _cluster/allocation/explain for the failing shard
    Did this fix it?
  2. 2. Bring the missing node back

    1. Restart or repair the node that left the cluster
    2. After it rejoins, wait for automatic allocation or run POST _cluster/reroute with no body
    Did this fix it?
  3. 3. Recover from a snapshot or reindex

    1. If the error is no_valid_shard_copy, restore the index from a snapshot, or reindex from the source system
    2. Delete the index only if the data is expendable
    Did this fix it?
  4. 4. Last resort: allocate a primary with data loss

    1. POST _cluster/reroute with allocate_stale_primary or allocate_empty_primary and accept_data_loss: true
    2. Elastic warns this can overwrite data if the original node later rejoins; use only when recovery is impossible
    Did this fix it?

Symptoms

GET _cluster/health shows status red; searches on some indices fail or return partial results; Kibana reports shard failures.

Why it happens

  • A node holding the only copy of a primary shard is down
  • Disk watermark blocked allocation
  • Corrupted or lost shard data (no_valid_shard_copy)
  • High JVM memory pressure tripping circuit breakers during recovery

This guide also covers

  • elasticsearch cluster health red
  • elasticsearch red status fix
  • elasticsearch primary shard unassigned

Still not working?

If Elasticsearch keeps failing, you're not alone. See every Elasticsearch problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Elasticsearch errors

All 10 Elasticsearch errors and fixes →