-
Notifications
You must be signed in to change notification settings - Fork 62
/
cat.shards.yaml
285 lines (285 loc) · 11.9 KB
/
cat.shards.yaml
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
openapi: 3.1.0
info:
title: Schemas of `cat.shards` Category
description: Schemas of `cat.shards` category.
version: 1.0.0
paths: {}
components:
schemas:
ShardsRecord:
type: object
properties:
index:
description: The index name.
type: string
shard:
description: The shard name.
type: string
prirep:
description: 'The shard type: `primary` or `replica`.'
type: string
state:
description: |-
The shard state.
Returned values include:
`INITIALIZING`: The shard is recovering from a peer shard or gateway.
`RELOCATING`: The shard is relocating.
`STARTED`: The shard has started.
`UNASSIGNED`: The shard is not assigned to any node.
type: string
docs:
description: The number of documents in the shard.
type: ['null', string]
store:
description: The disk space used by the shard.
type: ['null', string]
ip:
description: The IP address of the node.
type: ['null', string]
id:
description: The unique identifier for the node.
type: ['null', string]
node:
description: The name of node.
type: ['null', string]
sync_id:
description: The sync identifier.
type: ['null', string]
unassigned.reason:
description: |-
The reason for the last change to the state of an unassigned shard.
It does not explain why the shard is currently unassigned; use the cluster allocation explain API for that information.
Returned values include:
`ALLOCATION_FAILED`: Unassigned as a result of a failed allocation of the shard.
`CLUSTER_RECOVERED`: Unassigned as a result of a full cluster recovery.
`DANGLING_INDEX_IMPORTED`: Unassigned as a result of importing a dangling index.
`EXISTING_INDEX_RESTORED`: Unassigned as a result of restoring into a closed index.
`FORCED_EMPTY_PRIMARY`: The shard's allocation was last modified by forcing an empty primary using the cluster reroute API.
`INDEX_CLOSED`: Unassigned because the index was closed.
`INDEX_CREATED`: Unassigned as a result of an API creation of an index.
`INDEX_REOPENED`: Unassigned as a result of opening a closed index.
`MANUAL_ALLOCATION`: The shard's allocation was last modified by the cluster reroute API.
`NEW_INDEX_RESTORED`: Unassigned as a result of restoring into a new index.
`NODE_LEFT`: Unassigned as a result of the node hosting it leaving the cluster.
`NODE_RESTARTING`: Similar to `NODE_LEFT`, except that the node was registered as restarting using the node shutdown API.
`PRIMARY_FAILED`: The shard was initializing as a replica, but the primary shard failed before the initialization completed.
`REALLOCATED_REPLICA`: A better replica location is identified and causes the existing replica allocation to be cancelled.
`REINITIALIZED`: When a shard moves from started back to initializing.
`REPLICA_ADDED`: Unassigned as a result of explicit addition of a replica.
`REROUTE_CANCELLED`: Unassigned as a result of explicit cancel reroute command.
type: ['null', string]
unassigned.at:
description: The time at which the shard became unassigned in Coordinated Universal Time (UTC).
type: ['null', string]
unassigned.for:
description: The time at which the shard was requested to be unassigned in Coordinated Universal Time (UTC).
type: ['null', string]
unassigned.details:
description: |-
Additional details as to why the shard became unassigned.
It does not explain why the shard is not assigned; use the cluster allocation explain API for that information.
type: ['null', string]
recoverysource.type:
description: The type of recovery source.
type: ['null', string]
completion.size:
description: The size of completion.
type: ['null', string]
fielddata.memory_size:
description: The used field data cache memory.
type: ['null', string]
fielddata.evictions:
description: The field data cache evictions.
type: ['null', string]
query_cache.memory_size:
description: The used query cache memory.
type: ['null', string]
query_cache.evictions:
description: The query cache evictions.
type: ['null', string]
flush.total:
description: The number of flushes.
type: ['null', string]
flush.total_time:
description: The time spent in flush.
type: ['null', string]
get.current:
description: The number of current get operations.
type: ['null', string]
get.time:
description: The time spent in get operations.
type: ['null', string]
get.total:
description: The number of get operations.
type: ['null', string]
get.exists_time:
description: The time spent in successful get operations.
type: ['null', string]
get.exists_total:
description: The number of successful get operations.
type: ['null', string]
get.missing_time:
description: The time spent in failed get operations.
type: ['null', string]
get.missing_total:
description: The number of failed get operations.
type: ['null', string]
indexing.delete_current:
description: The number of current deletion operations.
type: ['null', string]
indexing.delete_time:
description: The time spent in deletion operations.
type: ['null', string]
indexing.delete_total:
description: The number of delete operations.
type: ['null', string]
indexing.index_current:
description: The number of current indexing operations.
type: ['null', string]
indexing.index_time:
description: The time spent in indexing operations.
type: ['null', string]
indexing.index_total:
description: The number of indexing operations.
type: ['null', string]
indexing.index_failed:
description: The number of failed indexing operations.
type: ['null', string]
merges.current:
description: The number of current merge operations.
type: ['null', string]
merges.current_docs:
description: The number of current merging documents.
type: ['null', string]
merges.current_size:
description: The size of current merge operations.
type: ['null', string]
merges.total:
description: The number of completed merge operations.
type: ['null', string]
merges.total_docs:
description: The number of merged documents.
type: ['null', string]
merges.total_size:
description: The size of current merges.
type: ['null', string]
merges.total_time:
description: The time spent merging documents.
type: ['null', string]
refresh.total:
description: The total number of refreshes.
type: ['null', string]
refresh.time:
description: The time spent in refreshes.
type: ['null', string]
refresh.external_total:
description: The total number of external refreshes.
type: ['null', string]
refresh.external_time:
description: The time spent in external refreshes.
type: ['null', string]
refresh.listeners:
description: The number of pending refresh listeners.
type: ['null', string]
search.fetch_current:
description: The current fetch phase operations.
type: ['null', string]
search.fetch_time:
description: The time spent in fetch phase.
type: ['null', string]
search.fetch_total:
description: The total number of fetch operations.
type: ['null', string]
search.open_contexts:
description: The number of open search contexts.
type: ['null', string]
search.query_current:
description: The current query phase operations.
type: ['null', string]
search.query_time:
description: The time spent in query phase.
type: ['null', string]
search.query_total:
description: The total number of query phase operations.
type: ['null', string]
search.concurrent_query_current:
type: ['null', string]
search.concurrent_query_time:
type: ['null', string]
search.concurrent_query_total:
type: ['null', string]
search.concurrent_avg_slice_count:
type: ['null', string]
search.scroll_current:
description: The open scroll contexts.
type: ['null', string]
search.scroll_time:
description: The time scroll contexts were held open.
type: ['null', string]
search.scroll_total:
description: The number of completed scroll contexts.
type: ['null', string]
search.point_in_time_current:
type: ['null', string]
search.point_in_time_time:
type: ['null', string]
search.point_in_time_total:
type: ['null', string]
search.search_idle_reactivate_count_total:
type: ['null', string]
segments.count:
description: The number of segments.
type: ['null', string]
segments.memory:
description: The memory used by segments.
type: ['null', string]
segments.index_writer_memory:
description: The memory used by the index writer.
type: ['null', string]
segments.version_map_memory:
description: The memory used by the version map.
type: ['null', string]
segments.fixed_bitset_memory:
description: The memory used by fixed bit sets for nested object field types and export type filters for types referred in `_parent` fields.
type: ['null', string]
seq_no.max:
description: The maximum sequence number.
type: ['null', string]
seq_no.local_checkpoint:
description: The local checkpoint.
type: ['null', string]
seq_no.global_checkpoint:
description: The global checkpoint.
type: ['null', string]
warmer.current:
description: The number of current warmer operations.
type: ['null', string]
warmer.total:
description: The total number of warmer operations.
type: ['null', string]
warmer.total_time:
description: The time spent in warmer operations.
type: ['null', string]
path.data:
description: The shard data path.
type: ['null', string]
path.state:
description: The shard state path.
type: ['null', string]
bulk.total_operations:
description: The number of bulk shard operations.
type: ['null', string]
bulk.total_time:
description: The time spent in shard bulk operations.
type: ['null', string]
bulk.total_size_in_bytes:
description: The total size in bytes of shard bulk operations.
type: ['null', string]
bulk.avg_time:
description: The average time spent in shard bulk operations.
type: ['null', string]
bulk.avg_size_in_bytes:
description: The average size in bytes of shard bulk operations.
type: ['null', string]
docs.deleted:
type: ['null', string]