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
@@ -54,6 +54,12 @@ The following table lists the available query parameters. All query parameters a
54
54
| :--- | :--- | :--- |
55
55
|`include_metadata`| Boolean | When `true`, includes additional metadata fields for each statistic (see [Available metadata](#available-metadata)). Default is `false`. |
56
56
|`flat_stat_paths`| Boolean | When `true`, flattens the JSON response structure for easier parsing. Default is `false`. |
57
+
|`include_individual_nodes`| Boolean | When `true`, includes statistics for individual nodes in the `nodes` category. When `false`, excludes the `nodes` category from the response. Default is `true`. |
58
+
|`include_all_nodes`| Boolean | When `true`, includes aggregated statistics across all nodes in the `all_nodes` category. When `false`, excludes the `all_nodes` category from the response. Default is `true`. |
59
+
|`include_info`| Boolean | When `true`, includes cluster-wide information in the `info` category. When `false`, excludes the `info` category from the response. Default is `true`. |
60
+
61
+
#### Parameter interactions
62
+
57
63
58
64
#### Example request
59
65
@@ -64,96 +70,183 @@ GET /_plugins/_neural/node1,node2/stats/stat1,stat2?include_metadata=true,flat_s
64
70
65
71
#### Example response
66
72
67
-
If `include_metadata` is `false`, the response appears as follows:
If `include_metadata` is `true`, the response appears as follows:
231
+
</details>
232
+
233
+
If `include_metadata` is `true`, each stats object contains additional metadata:
105
234
106
235
```json
107
236
{
108
-
"_nodes": {
109
-
"total": 1,
110
-
"successful": 1,
111
-
"failed": 0
112
-
},
113
-
"cluster_name": "integTest",
114
-
"info": {
115
-
"cluster_version": {
116
-
"value": "3.0.0",
117
-
"stat_type": "info_string"
237
+
...,
238
+
"text_embedding_executions": {
239
+
"value": 0,
240
+
"stat_type": "timestamped_event_counter",
241
+
"trailing_interval_value": 0,
242
+
"minutes_since_last_event": 29061801
118
243
},
119
-
"processors": {
120
-
"ingest": {
121
-
"text_embedding_processors_in_pipelines": {
122
-
"value": 0,
123
-
"stat_type": "info_counter"
124
-
}
125
-
}
126
-
}
127
-
},
128
-
"all_nodes": {
129
-
"processors": {
130
-
"ingest": {
131
-
"text_embedding_executions": {
132
-
"value": 0,
133
-
"stat_type": "timestamped_event_counter",
134
-
"trailing_interval_value": 0,
135
-
"minutes_since_last_event": 29061801
136
-
}
137
-
}
138
-
}
139
-
},
140
-
"nodes": {
141
-
"896MIkjCSnWBHy-SxB62zQ": {
142
-
"processors": {
143
-
"ingest": {
144
-
"text_embedding_executions": {
145
-
"value": 0,
146
-
"stat_type": "timestamped_event_counter",
147
-
"trailing_interval_value": 0,
148
-
"minutes_since_last_event": 29061801
149
-
}
150
-
}
151
-
}
152
-
}
153
-
}
244
+
...
154
245
}
155
246
```
156
247
248
+
For more information, see [Available metadata](#available-metadata).
249
+
157
250
### Response body fields
158
251
159
252
The following sections describe response body fields.
@@ -175,8 +268,90 @@ The following table lists the available statistics. For statistics with paths pr
175
268
| Statistic name | Category | Statistic path within category | Description |
176
269
| :--- | :--- | :--- | :--- |
177
270
|`cluster_version`|`info`|`cluster_version`| The version of the cluster. |
178
-
|`text_embedding_processors_in_pipelines`|`info`|`processors.ingest.text_embedding_processors_in_pipelines`| The number of text embedding processors configured in ingest pipelines. |
179
-
|`text_embedding_executions`|`nodes`, `all_nodes`|`processors.ingest.text_embedding_executions`| The number of text embedding processor executions per node. |
271
+
272
+
**Info statistics: Processors**
273
+
274
+
| Statistic name | Category | Statistic path within category | Description |
275
+
| :--- | :--- | :--- | :--- |
276
+
|`text_embedding_processors_in_pipelines`|`info`|`processors.ingest.text_embedding_processors_in_pipelines`| The number of `text_embedding` processors in ingest pipelines. |
277
+
|`sparse_encoding_processors`|`info`|`processors.ingest.sparse_encoding_processors`| The number of `sparse_encoding` processors in ingest pipelines. |
278
+
|`skip_existing_processors`|`info`|`processors.ingest.skip_existing_processors`| The number of processors with `skip_existing` set to `true` in ingest pipelines. |
279
+
|`text_image_embedding_processors`|`info`|`processors.ingest.text_image_embedding_processors`| The number of `text_image_embedding` processors in ingest pipelines. |
280
+
|`text_chunking_delimiter_processors`|`info`|`processors.ingest.text_chunking_delimiter_processors`| The number of `text_chunking` processors using the `delimiter` algorithm in ingest pipelines. |
281
+
|`text_chunking_fixed_token_length_processors`|`info`|`processors.ingest.text_chunking_fixed_token_length_processors`| The number of `text_chunking` processors using the `fixed_token_length` algorithm in ingest pipelines. |
282
+
|`text_chunking_fixed_char_length_processors`|`info`|`processors.ingest.text_chunking_fixed_char_length_processors`| The number of `text_chunking` processors using the `fixed_character_length` algorithm in ingest pipelines. |
283
+
|`text_chunking_processors`|`info`|`processors.ingest.text_chunking_processors`| The number of `text_chunking` processors in ingest pipelines. |
284
+
|`rerank_ml_processors`|`info`|`processors.search.rerank_ml_processors`| The number of `rerank` processors of the `ml_opensearch` type in search pipelines. |
285
+
|`rerank_by_field_processors`|`info`|`processors.search.rerank_by_field_processors`| The number of `rerank` processors of the `by_field` type. |
286
+
|`neural_sparse_two_phase_processors`|`info`|`processors.search.neural_sparse_two_phase_processors`| The number of `neural_sparse_two_phase_processor` processors in search pipelines. |
287
+
|`neural_query_enricher_processors`|`info`|`processors.search.neural_query_enricher_processors`| The number of `neural_query_enricher` processors in search pipelines. |
288
+
289
+
**Info statistics: Hybrid processors**
290
+
291
+
| Statistic name | Category | Statistic path within category | Description |
292
+
| :--- | :--- | :--- | :--- |
293
+
|`normalization_processors`|`info`|`processors.search.hybrid.normalization_processors`| The number of `normalization-processor` processors. |
294
+
|`norm_minmax_processors`|`info`|`processors.search.hybrid.norm_minmax_processors`| The number of `normalization-processor` processors with `normalization.technique` set to `min_max`. |
295
+
|`norm_l2_processors`|`info`|`processors.search.hybrid.norm_l2_processors`| The number of `normalization-processor` processors with `normalization.technique` set to `l2`. |
296
+
|`norm_zscore_processors`|`info`|`processors.search.hybrid.norm_zscore_processors`| The number of `normalization-processor` processors with `normalization.technique` set to `z_score`. |
297
+
|`comb_arithmetic_processors`|`info`|`processors.search.hybrid.comb_arithmetic_processors`| The number of `normalization-processor` processors with `combination.technique` set to `arithmetic_mean`. |
298
+
|`comb_geometric_processors`|`info`|`processors.search.hybrid.comb_geometric_processors`| The number of `normalization-processor` processors with `combination.technique` set to `geometric_mean`. |
299
+
|`comb_harmonic_processors`|`info`|`processors.search.hybrid.comb_harmonic_processors`| The number of `normalization-processor` processors with `combination.technique` set to `harmonic_mean`. |
300
+
|`rank_based_normalization_processors`|`info`|`processors.search.hybrid.rank_based_normalization_processors`| The number of `score-ranker-processor` processors. |
301
+
|`comb_rrf_processors`|`info`|`processors.search.hybrid.comb_rrf_processors`| The number of `score-ranker-processor` processors with `combination.technique` set to `rrf`. |
302
+
303
+
**Node-level statistics: Processors**
304
+
305
+
| Statistic name | Category | Statistic path within category | Description |
306
+
| :--- | :--- | :--- | :--- |
307
+
|`text_embedding_executions`|`nodes`, `all_nodes`|`processors.ingest.text_embedding_executions`| The number of `text_embedding` processor executions. |
308
+
|`skip_existing_executions`|`nodes`, `all_nodes`|`processors.ingest.skip_existing_executions`| The number of processor executions that have `skip_existing` set to `true`. |
309
+
|`text_chunking_fixed_token_length_executions`|`nodes`, `all_nodes`|`processors.ingest.text_chunking_fixed_token_length_executions`| The number of `text_chunking` processor executions with the `fixed_token_length` algorithm. |
310
+
|`sparse_encoding_executions`|`nodes`, `all_nodes`|`processors.ingest.sparse_encoding_executions`| The number of `sparse_encoding` processor executions. |
311
+
|`text_chunking_fixed_char_length_executions`|`nodes`, `all_nodes`|`processors.ingest.text_chunking_fixed_char_length_executions`| The number of `text_chunking` processor executions with the `fixed_character_length` algorithm. |
312
+
|`text_chunking_executions`|`nodes`, `all_nodes`|`processors.ingest.text_chunking_executions`| The number of `text_chunking` processor executions. |
313
+
|`semantic_field_executions`|`nodes`, `all_nodes`|`processors.ingest.semantic_field_executions`| The number of `semantic` field system processor executions. |
314
+
|`semantic_field_chunking_executions`|`nodes`, `all_nodes`|`processors.ingest.semantic_field_chunking_executions`| The number of `semantic` field system chunking processor executions. |
315
+
|`text_chunking_delimiter_executions`|`nodes`, `all_nodes`|`processors.ingest.text_chunking_delimiter_executions`| The number of `text_chunking` processor executions with the `delimiter` algorithm. |
316
+
|`text_image_embedding_executions`|`nodes`, `all_nodes`|`processors.ingest.text_image_embedding_executions`| The number of `text_image_embedding` processor executions. |
317
+
|`neural_sparse_two_phase_executions`|`nodes`, `all_nodes`|`processors.search.neural_sparse_two_phase_executions`| The number of `neural_sparse_two_phase_processor` processor executions. |
318
+
|`rerank_by_field_executions`|`nodes`, `all_nodes`|`processors.search.rerank_by_field_executions`| The number of `rerank` processor executions of the `by_field` type. |
319
+
|`neural_query_enricher_executions`|`nodes`, `all_nodes`|`processors.search.neural_query_enricher_executions`| The number of `neural_query_enricher` processor executions. |
320
+
|`rerank_ml_executions`|`nodes`, `all_nodes`|`processors.search.rerank_ml_executions`| The number of `rerank` processor executions of the `ml_opensearch` type. |
321
+
322
+
**Node-level statistics: Hybrid processors**
323
+
324
+
| Statistic name | Category | Statistic path within category | Description |
325
+
| :--- | :--- | :--- | :--- |
326
+
|`normalization_processor_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.normalization_processor_executions`| The number of `normalization-processor` processor executions. |
327
+
|`rank_based_normalization_processor_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.rank_based_normalization_processor_executions`| The number of `score-ranker-processor` processor executions. |
328
+
|`comb_harmonic_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.comb_harmonic_executions`| The number of `normalization-processor` processor executions with `combination.technique` set to `harmonic_mean`. |
329
+
|`norm_zscore_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.norm_zscore_executions`| The number of `normalization-processor` processor executions with `normalization.technique` set to `z_score`. |
330
+
|`comb_rrf_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.comb_rrf_executions`| The number of `score-ranker-processor` processor executions with `combination.technique` set to `rrf`. |
331
+
|`norm_l2_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.norm_l2_executions`| The number of `normalization-processor` processor executions with `normalization.technique` set to `l2`. |
332
+
|`comb_arithmetic_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.comb_arithmetic_executions`| The number of `normalization-processor` processor executions with `combination.technique` set to `arithmetic_mean`. |
333
+
|`comb_geometric_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.comb_geometric_executions`| The number of `normalization-processor` processor executions with `combination.technique` set to `geometric_mean`. |
334
+
|`norm_minmax_executions`|`nodes`, `all_nodes`|`processors.search.hybrid.norm_minmax_executions`| The number of `normalization-processor` processor executions with `normalization.technique` set to `min_max`. |
335
+
336
+
**Node-level statistics: Query**
337
+
338
+
| Statistic name | Category | Statistic path within category | Description |
339
+
| :--- | :--- | :--- | :--- |
340
+
|`hybrid_query_with_pagination_requests`|`nodes`, `all_nodes`|`query.hybrid.hybrid_query_with_pagination_requests`| The number of `hybrid` query requests with pagination. |
341
+
|`hybrid_query_with_filter_requests`|`nodes`, `all_nodes`|`query.hybrid.hybrid_query_with_filter_requests`| The number of `hybrid` query requests with filters. |
342
+
|`hybrid_query_with_inner_hits_requests`|`nodes`, `all_nodes`|`query.hybrid.hybrid_query_with_inner_hits_requests`| The number of `hybrid` query requests with inner hits. |
343
+
|`hybrid_query_requests`|`nodes`, `all_nodes`|`query.hybrid.hybrid_query_requests`| The total number of `hybrid` query requests. |
344
+
|`neural_query_against_semantic_sparse_requests`|`nodes`, `all_nodes`|`query.neural.neural_query_against_semantic_sparse_requests`| The number of `neural` query requests against semantic sparse fields. |
345
+
|`neural_query_requests`|`nodes`, `all_nodes`|`query.neural.neural_query_requests`| The total number of `neural` query requests. |
346
+
|`neural_query_against_semantic_dense_requests`|`nodes`, `all_nodes`|`query.neural.neural_query_against_semantic_dense_requests`| The number of `neural` query requests against semantic dense fields. |
347
+
|`neural_query_against_knn_requests`|`nodes`, `all_nodes`|`query.neural.neural_query_against_knn_requests`| The number of `neural` query requests against k-NN fields. |
348
+
|`neural_sparse_query_requests`|`nodes`, `all_nodes`|`query.neural_sparse.neural_sparse_query_requests`| The number of `neural_sparse` query requests. |
349
+
350
+
**Node-level statistics: Semantic highlighting**
351
+
352
+
| Statistic name | Category | Statistic path within category | Description |
353
+
| :--- | :--- | :--- | :--- |
354
+
|`semantic_highlighting_request_count`|`nodes`, `all_nodes`|`semantic_highlighting.semantic_highlighting_request_count`| The number of `semantic` highlighting requests. |
0 commit comments