-
Notifications
You must be signed in to change notification settings - Fork 891
/
cluster_health_spec.json
104 lines (104 loc) · 2.76 KB
/
cluster_health_spec.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
102
103
104
{
"cluster.health":{
"documentation":{
"url":"https://opensearch.org/docs/latest/opensearch/rest-api/cluster-health/",
"description":"Returns basic information about the health of the cluster."
},
"stability":"stable",
"url":{
"paths":[
{
"path":"/_cluster/health",
"methods":[
"GET"
]
},
{
"path":"/_cluster/health/{index}",
"methods":[
"GET"
],
"parts":{
"index":{
"type":"list",
"description":"Limit the information returned to a specific index"
}
}
}
]
},
"params":{
"expand_wildcards":{
"type":"enum",
"options":[
"open",
"closed",
"none",
"all"
],
"default":"all",
"description":"Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"level":{
"type":"enum",
"options":[
"cluster",
"indices",
"shards"
],
"default":"cluster",
"description":"Specify the level of detail for returned information"
},
"local":{
"type":"boolean",
"description":"Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout":{
"type":"time",
"description":"Explicit operation timeout for connection to master node"
},
"timeout":{
"type":"time",
"description":"Explicit operation timeout"
},
"wait_for_active_shards":{
"type":"string",
"description":"Wait until the specified number of shards is active"
},
"wait_for_nodes":{
"type":"string",
"description":"Wait until the specified number of nodes is available"
},
"wait_for_events":{
"type":"enum",
"options":[
"immediate",
"urgent",
"high",
"normal",
"low",
"languid"
],
"description":"Wait until all currently queued events with the given priority are processed"
},
"wait_for_no_relocating_shards":{
"type":"boolean",
"description":"Whether to wait until there are no relocating shards in the cluster"
},
"wait_for_no_initializing_shards":{
"type":"boolean",
"description":"Whether to wait until there are no initializing shards in the cluster"
},
"wait_for_status":{
"type":"enum",
"options":[
"green",
"yellow",
"red"
],
"default":null,
"description":"Wait until cluster is in a specific state"
}
}
}
}