Snapshot lifecycle management API

The Snapshot Lifecycle Management APIs are used to manage policies for the time and frequency of automatic snapshots. Snapshot Lifecycle Management is related to Index Lifecycle Management, however, instead of managing a lifecycle of actions that are performed on a single index, SLM allows configuring policies spanning multiple indices.

SLM policy management is split into three different CRUD APIs, a way to put or update policies, a way to retrieve policies, and a way to delete unwanted policies, as well as a separate API for immediately invoking a snapshot based on a policy.

Since SLM falls under the same category as ILM, it is stopped and started by using the start and stop ILM APIs. It is, however, managed by a different enable setting. To disable SLM’s functionality, set the cluster setting xpack.slm.enabled to false in elasticsearch.yml.