-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathcluster.state.json
101 lines (101 loc) · 3.22 KB
/
cluster.state.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"cluster.state": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html",
"description": "Returns a comprehensive information about the state of the cluster."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_cluster/state",
"methods": ["GET"]
},
{
"path": "/_cluster/state/{metric}",
"methods": ["GET"],
"parts": {
"metric": {
"type": "list",
"options": [
"_all",
"blocks",
"metadata",
"nodes",
"routing_table",
"routing_nodes",
"master_node",
"version"
],
"description": "Limit the information returned to the specified metrics"
}
}
},
{
"path": "/_cluster/state/{metric}/{index}",
"methods": ["GET"],
"parts": {
"index": {
"type": "list",
"description": "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
},
"metric": {
"type": "list",
"options": [
"_all",
"blocks",
"metadata",
"nodes",
"routing_table",
"routing_nodes",
"master_node",
"version"
],
"description": "Limit the information returned to the specified metrics"
}
}
}
]
},
"params": {
"local": {
"type": "boolean",
"description": "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type": "time",
"description": "Specify timeout for connection to master"
},
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
},
"wait_for_metadata_version": {
"type": "number",
"description": "Wait for the metadata version to be equal or greater than the specified metadata version"
},
"wait_for_timeout": {
"type": "time",
"description": "The maximum time to wait for wait_for_metadata_version before timing out"
},
"ignore_unavailable": {
"type": "boolean",
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
},
"allow_no_indices": {
"type": "boolean",
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}
}
}
}