原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/slm-settings.html, 原文档版权归 www.elastic.co 所有
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
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 totrue
.
-
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
.