Loading

Status Yellow

Cluster health is yellow because one or more replica shards are not allocated, while primaries are generally serving reads and writes. You still have service, but losing another node could leave indices without redundancy.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity Medium
Scope Cluster
Domains cluster-health, high-availability

You can customize these settings to adjust when AutoOps detects this event and presents the insight. Refer to AutoOps event settings for details.

The default customization settings are:

Setting Type Default
Minimum number of initializing shards Integer 1
Minimum duration of the yellow status in seconds Integer 60
Reasons excluded to raise a yellow status List of strings REPLICA_ADDED,DANGLING_INDEX_IMPORTED,CLUSTER_RECOVERED,INDEX_CLOSED,INDEX_REOPENED,EXISTING_INDEX_RESTORED,NEW_INDEX_RESTORED,REALLOCATED_REPLICA,MANUAL_ALLOCATION
Minimum number of data nodes required to raise the yellow status event Integer 2

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

The current number of unassigned replica shards is: 12.</br></br>The maximum number unassigned replica shards is: 12.</br></br>The number of initializing shards is: 12.</br></br>The shards are unassigned because: </br></br></br>See sample list: logs-prod-000045, logs-prod-000046.

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

Impact: When cluster status is yellow, it means there is a higher risk of permanent or temporary loss of data. Yellow status indicates that one or more of the replica shards on the cluster are not allocated to a node. While the cluster status is yellow, all data is still accessible for read and write operations, but in the event of data corruption or loss of a node, one or more of your indices will no longer be available for write or search. If you only have one node and your index has replica shards, then a yellow status is normal, since no other node is available to receive the replica. A cluster might also become yellow temporarily following a node restart, until the node resynchronizes the replica shards. However, if the yellow status persists, you should act to find out why and recover your cluster to Green status. If the shard recovery process has been completed and the cluster status is still yellow, it's an indication that the allocation was not carried out successfully. There could be various reasons for this failure: - There is only 1 node in your cluster, and replicas will never be allocated on the same node as the primary shard. - One or more nodes have disk utilization that is above the cluster.routing.allocation.disk.watermark.low value. - The use of attribute-based allocation rules is preventing a shard from being allocated on any of the available nodes.