Many statistics can be monitored in an Elasticsearch cluster,
but the single most important one is cluster health, which reports a
status of either
On an empty cluster with no indices, this will return something like the following:
status field provides an overall indication of how the cluster is
functioning. The meanings of the three colors are provided here for reference:
- All primary and replica shards are active.
- All primary shards are active, but not all replica shards are active.
- Not all primary shards are active.
In the rest of this chapter, we explain what primary and replica shards are and explain the practical implications of each of the preceding colors.