Reduce replicas on warm data tier
Some indices on the warm data tier retain more replicas than warranted for older or less active data. Warm-tier replicas still consume disk and background resources even when traffic is low.
For a complete list of insights, refer to AutoOps insights.
| Field | Value |
|---|---|
| Component | Elasticsearch |
| Severity | Low |
| Scope | Node |
| Domains | replication, resource-utilization |
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.
There was 1 replica detected in warm data tier for the following indices: logs-prod-000045, logs-prod-000046.
AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.
Reduce replicas to one
Condition: Shown when replication factor exceeds warm tier threshold.
Set number_of_replicas to 1 for logs-prod-000045 (currently 1 replicas) on the warm tier with the action below. Fewer replicas can increase search latency because fewer nodes serve reads.
PUT logs-prod-000045/_settings
{
"index": {
"number_of_replicas": 1
}
}
Requires the manage index privilege. Requires Elasticsearch 8.0.0 or later. This action changes cluster or index configuration.
Reducing the number of replicas for the warm tier can improve performance, save on storage costs, enhance indexing throughput and ensure cluster stability. This is because replicas introduce additional resource usage, which can negatively impact performance and stability.