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
-
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.
-
Skips the specified number of transforms.
-
Specifies the maximum number of transforms to obtain.
-
Controls the time to wait for the stats
Values are
-1
or0
.
GET /_transform/{transform_id}/_stats
Console
GET _transform/ecommerce-customer-transform/_stats
resp = client.transform.get_transform_stats( transform_id="ecommerce-customer-transform", )
const response = await client.transform.getTransformStats({ transform_id: "ecommerce-customer-transform", });
response = client.transform.get_transform_stats( transform_id: "ecommerce-customer-transform" )
$resp = $client->transform()->getTransformStats([ "transform_id" => "ecommerce-customer-transform", ]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_transform/ecommerce-customer-transform/_stats"
Response examples (200)
A successful response that contains usage information for a transform.
{ "count": 1, "transforms": [ { "id": "ecommerce-customer-transform", "state": "started", "node": { "id": "cpTIGMsVQ8Gqwqlxxxxxxx", "name": "my.home", "ephemeral_id": "5-L21nFsQxxxxxxxxxx-xx", "transport_address": "127.0.0.1:9300", "attributes": {} }, "stats": { "pages_processed": 78, "documents_processed": 6027, "documents_indexed": 68, "documents_deleted": 22, "delete_time_in_ms": 214, "trigger_count": 168, "index_time_in_ms": 412, "index_total": 20, "index_failures": 0, "search_time_in_ms": 353, "search_total": 78, "search_failures": 0, "processing_time_in_ms": 8, "processing_total": 78, "exponential_avg_checkpoint_duration_ms": 97.30637923893185, "exponential_avg_documents_indexed": 2.2064915040974062, "exponential_avg_documents_processed": 179.89419945785045 }, "checkpointing": { "last": { "checkpoint": 20, "timestamp_millis": 1585344558220, "time_upper_bound_millis": 1585344498220 }, "changes_last_detected_at": 1585344558219 }, "health": { "status": "green" } } ] }