1
1
[[cluster-health]]
2
2
=== Cluster health
3
3
4
- There are many statistics that can be monitored in an Elasticsearch cluster
5
- but the single most important((("cluster health"))) one is the _cluster health_, which reports a
6
- `status` of either `green`, `yellow` or `red`:
4
+ Many statistics can be monitored in an Elasticsearch cluster,
5
+ but the single most important((("cluster health"))) one is _cluster health_, which reports a
6
+ `status` of either `green`, `yellow`, or `red`:
7
7
8
8
[source,js]
9
9
--------------------------------------------------
10
10
GET /_cluster/health
11
11
--------------------------------------------------
12
12
// SENSE: 020_Distributed_Cluster/10_Cluster_health.json
13
13
14
- which, on an empty cluster with no indices, will return something like:
14
+ On an empty cluster with no indices, this will return something like the following :
15
15
16
16
[source,js]
17
17
--------------------------------------------------
@@ -31,12 +31,12 @@ which, on an empty cluster with no indices, will return something like:
31
31
<1> The `status` field is the one we're most interested in.
32
32
33
33
The `status` field provides ((("status field")))an overall indication of how the cluster is
34
- functioning. The meaning of the three colors are provided here for reference:
34
+ functioning. The meanings of the three colors are provided here for reference:
35
35
36
36
[horizontal]
37
- `green`:: All primary and replica shards are active.
38
- `yellow`:: All primary shards are active, but not all replica shards are active.
39
- `red`:: Not all primary shards are active.
37
+ * `green`:: All primary and replica shards are active.
38
+ * `yellow`:: All primary shards are active, but not all replica shards are active.
39
+ * `red`:: Not all primary shards are active.
40
40
41
- In the rest of this chapter we explain what _primary_ and _replica_ shards are
42
- and explain the practical implications of each of the above colors.
41
+ In the rest of this chapter, we explain what _primary_ and _replica_ shards are
42
+ and explain the practical implications of each of the preceding colors.
0 commit comments