You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that GET /_cluster/state is unstable (#40104)
The `GET /_cluster/state` API returns an internal representation of the cluster
state that does change from version to version. It's useful for debugging, but
it is not intended for regular use by clients.
This change adjusts the documentation of `GET /_cluster/state` to clarify that
this API yields an internal representation that should not be expected to
remain stable between versions.
Relates #40061, #40016
`{metrics}` is a comma-separated list of the following options.
42
57
43
58
`version`::
44
59
Shows the cluster state version.
@@ -50,15 +65,23 @@ GET /_cluster/state/{metrics}/{indices}
50
65
Shows the `nodes` part of the response
51
66
52
67
`routing_table`::
53
-
Shows the `routing_table` part of the response. If you supply a comma separated list of indices, the returned output will only contain the indices listed.
68
+
Shows the `routing_table` part of the response. If you supply a comma
69
+
separated list of indices, the returned output will only contain the routing
70
+
table for these indices.
54
71
55
72
`metadata`::
56
-
Shows the `metadata` part of the response. If you supply a comma separated list of indices, the returned output will only contain the indices listed.
73
+
Shows the `metadata` part of the response. If you supply a comma separated
74
+
list of indices, the returned output will only contain metadata for these
75
+
indices.
57
76
58
77
`blocks`::
59
-
Shows the `blocks` part of the response
78
+
Shows the `blocks` part of the response.
79
+
80
+
`_all`::
81
+
Shows all metrics.
60
82
61
-
The following example returns only `metadata` and `routing_table` data for the `foo` and `bar` indices:
83
+
The following example returns only `metadata` and `routing_table` data for the
0 commit comments