Get snapshot lifecycle management statistics
- GET /_slm/stats
Get global and policy-level statistics about actions taken by snapshot lifecycle management.
- Cluster privileges:
manage_slm
Query Parameters
-
master_timeoutstring Duration · default: 30s Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
-
timeoutstring Duration · default: 30s Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Response
application/json
-
retention_deletion_timestring Durationrequired -
retention_deletion_time_millisDurationValueUnitMillisrequired -
retention_failednumberrequired -
retention_runsnumberrequired -
retention_timed_outnumberrequired -
total_snapshots_deletednumberrequired -
total_snapshot_deletion_failuresnumberrequired -
total_snapshots_failednumberrequired -
total_snapshots_takennumberrequired -
policy_statsSnapshotPolicyStatsrequired -
policystringrequired -
snapshots_takennumberrequired -
snapshots_failednumberrequired -
snapshots_deletednumberrequired -
snapshot_deletion_failuresnumberrequired