-
Notifications
You must be signed in to change notification settings - Fork 80
/
cat.indices.json
90 lines (90 loc) · 2.84 KB
/
cat.indices.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
{
"cat.indices": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html",
"description": "Returns information about indices: number of primaries and replicas, document counts, disk size, ..."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["text/plain", "application/json"]
},
"url": {
"paths": [
{
"path": "/_cat/indices",
"methods": ["GET"]
},
{
"path": "/_cat/indices/{index}",
"methods": ["GET"],
"parts": {
"index": {
"type": "list",
"description": "A comma-separated list of index names to limit the returned information"
}
}
}
]
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"bytes": {
"type": "enum",
"description": "The unit in which to display byte values",
"options": ["b", "k", "kb", "m", "mb", "g", "gb", "t", "tb", "p", "pb"]
},
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description": "Comma-separated list of column names to display"
},
"health": {
"type": "enum",
"options": ["green", "yellow", "red"],
"description": "A health status (\"green\", \"yellow\", or \"red\" to filter only indices matching the specified health status"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"pri": {
"type": "boolean",
"description": "Set to true to return stats only for primary shards",
"default": false
},
"s": {
"type": "list",
"description": "Comma-separated list of column names or column aliases to sort by"
},
"time": {
"type": "enum",
"description": "The unit in which to display time values",
"options": ["d", "h", "m", "s", "ms", "micros", "nanos"]
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
},
"include_unloaded_segments": {
"type": "boolean",
"description": "If set to true segment stats will include stats for segments that are not currently loaded into memory",
"default": false
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "all",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}
}
}
}