原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/slm-settings.html, 原文档版权归 www.elastic.co 所有

Snapshot lifecycle management settings in Elasticsearchedit

These are the settings available for configuring snapshot lifecycle management (SLM).

Cluster-level settingsedit

slm.history_index_enabled
(boolean) Controls whether SLM records the history of actions taken as part of SLM policies to the slm-history-* indices. Defaults to true.
slm.retention_schedule
(Dynamic, cron scheduler value) Controls when the retention task runs. Can be a periodic or absolute time schedule. Supports all values supported by the cron scheduler. Defaults to daily at 1:30am UTC: 0 30 1 * * ?.
slm.retention_duration
(Dynamic, time value) Limits how long SLM should spend deleting old snapshots. Defaults to one hour: 1h.