Get transform stats
- GET /_transform/{transform_id}/_stats
Get usage information for transforms.
- Index privileges:
read,view_index_metadata - Cluster privileges:
monitor_transform
Path Parameters
-
transform_idName | Namerequired -
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_matchboolean · default: true 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.
-
fromnumber · default: 0 Skips the specified number of transforms.
-
sizenumber · default: 100 Specifies the maximum number of transforms to obtain.
-
timeoutstring Duration · default: 30s Controls the time to wait for the stats
Response
-
countnumberrequired -
transformsTransformStatsrequired -
checkpointingCheckpointingrequired -
changes_last_detected_atnumber -
changes_last_detected_at_stringDateTime -
lastCheckpointStatsrequired -
checkpointnumberrequired -
checkpoint_progressTransformProgress -
docs_indexednumberrequired -
docs_processednumberrequired -
docs_remainingnumber -
percent_completenumber -
total_docsnumber -
timestampDateTime -
timestamp_millisEpochTimeUnitMillis -
time_upper_boundDateTime -
time_upper_bound_millisEpochTimeUnitMillis -
nextCheckpointStats -
operations_behindnumber -
last_search_timenumber -
last_search_time_stringDateTime -
healthTransformStatsHealth -
statusHealthStatusrequired -
Supported values include:
green(orGREEN): All shards are assigned.yellow(orYELLOW): All primary shards are assigned, but one or more replica shards are unassigned. If a node in the cluster fails, some data could be unavailable until that node is repaired.red(orRED): One or more primary shards are unassigned, so some data is unavailable. This can occur briefly during cluster startup as primary shards are assigned.unknownunavailable
-
Values:
greenGREENyellowYELLOWredREDunknownunavailable -
issuesTransformHealthIssue -
If a non-healthy status is returned, contains a list of issues of the transform.
-
typestringrequired -
The type of the issue
-
issuestringrequired -
A description of the issue
-
detailsstring -
Details about the issue
-
countnumberrequired -
Number of times this issue has occurred since it started
-
first_occurrenceEpochTimeUnitMillis -
The timestamp this issue occurred for for the first time
-
first_occurence_stringDateTime -
idstring Idrequired -
reasonstring -
statestringrequired -
statsTransformIndexerStatsrequired -
delete_time_in_msEpochTimeUnitMillis -
documents_indexednumberrequired -
documents_deletednumber -
documents_processednumberrequired -
exponential_avg_checkpoint_duration_msDurationValueUnitFloatMillisrequired -
exponential_avg_documents_indexednumberrequired -
exponential_avg_documents_processednumberrequired -
index_failuresnumberrequired -
index_time_in_msDurationValueUnitMillisrequired -
index_totalnumberrequired -
pages_processednumberrequired -
processing_time_in_msDurationValueUnitMillisrequired -
processing_totalnumberrequired -
search_failuresnumberrequired -
search_time_in_msDurationValueUnitMillisrequired -
search_totalnumberrequired -
trigger_countnumberrequired