Get transform stats Added in 7.5.0
Retrieves usage information for transforms.
Path parameters
-
Identifier for the transform. It can be a transform identifier or a wildcard expression. You can get information for all transforms by using
_all
, by specifying*
as the<transform_id>
, or by omitting the<transform_id>
.
Query parameters
-
allow_no_match boolean
Specifies what to do when the request:
- Contains wildcard expressions and there are no transforms that match.
- Contains the _all string or no identifiers and there are no matches.
- Contains wildcard expressions and there are only partial matches.
If this parameter is false, the request returns a 404 status code when there are no matches or only partial matches.
-
from number
Skips the specified number of transforms.
-
size number
Specifies the maximum number of transforms to obtain.
-
timeout string
Controls the time to wait for the stats
GET /_transform/{transform_id}/_stats
curl \
-X GET http://api.example.com/_transform/{transform_id}/_stats
Response examples (200)
{
"count": 42.0,
"transforms": [
{
"checkpointing": {
"changes_last_detected_at": 42.0,
"": "string",
"last": {
"checkpoint": 42.0,
"checkpoint_progress": {
"docs_indexed": 42.0,
"docs_processed": 42.0,
"docs_remaining": 42.0,
"percent_complete": 42.0,
"total_docs": 42.0
},
"": 42.0
},
"next": {
"checkpoint": 42.0,
"checkpoint_progress": {
"docs_indexed": 42.0,
"docs_processed": 42.0,
"docs_remaining": 42.0,
"percent_complete": 42.0,
"total_docs": 42.0
},
"": 42.0
},
"operations_behind": 42.0,
"last_search_time": 42.0
},
"health": {
"status": "green"
},
"id": "string",
"node": {
"attributes": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"ephemeral_id": "string",
"id": "string",
"name": "string",
"transport_address": "string"
},
"reason": "string",
"state": "string",
"stats": {
"": 42.0,
"documents_indexed": 42.0,
"documents_deleted": 42.0,
"documents_processed": 42.0,
"exponential_avg_documents_indexed": 42.0,
"exponential_avg_documents_processed": 42.0,
"index_failures": 42.0,
"index_total": 42.0,
"pages_processed": 42.0,
"processing_total": 42.0,
"search_failures": 42.0,
"search_total": 42.0,
"trigger_count": 42.0
}
}
]
}