Index lifecycle management settings in Elasticsearch
These are the settings available for configuring index lifecycle management (ILM).
Cluster level settings
-
xpack.ilm.enabled - (Static, Boolean) [7.8.0] Deprecated in 7.8.0. Basic License features are always enabled
This deprecated setting has no effect and will be removed in Elasticsearch 8.0. -
indices.lifecycle.history_index_enabled - (Static, Boolean) Whether ILM’s history index is enabled. If enabled, ILM will record the history of actions taken as part of ILM policies to the
ilm-history-*indices. Defaults totrue. -
indices.lifecycle.poll_interval - (Dynamic, time unit value) How often index lifecycle management checks for indices that meet policy criteria. Defaults to
10m.
Index level settings
These index-level ILM settings are typically configured through index templates. For more information, see Create a lifecycle policy.
-
index.lifecycle.indexing_complete - (Dynamic, Boolean) Indicates whether or not the index has been rolled over. Automatically set to
truewhen ILM completes the rollover action. You can explicitly set it to skip rollover. Defaults tofalse. -
index.lifecycle.name - (Dynamic, string) The name of the policy to use to manage the index. For information about how Elasticsearch applies policy changes, see Policy updates.
-
index.lifecycle.origination_date - (Dynamic, long) If specified, this is the timestamp used to calculate the index age for its phase transitions. Use this setting if you create a new index that contains old data and want to use the original creation date to calculate the index age. Specified as a Unix epoch value in milliseconds.
-
index.lifecycle.parse_origination_date - (Dynamic, Boolean) Set to
trueto parse the origination date from the index name. This origination date is used to calculate the index age for its phase transitions. The index name must match the pattern^.*-{date_format}-\\d+, where thedate_formatisyyyy.MM.ddand the trailing digits are optional. An index that was rolled over would normally match the full format, for examplelogs-2016.10.31-000002). If the index name doesn’t match the pattern, index creation fails.
-
index.lifecycle.step.wait_time_threshold - (Dynamic, time value) Time to wait for the cluster to resolve allocation issues during an ILM
shrinkaction. Must be greater than1h(1 hour). Defaults to12h(12 hours). See Shard allocation for shrink. -
index.lifecycle.rollover_alias - (Dynamic, string) The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action. When the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more information about rolling indices, see Rollover.
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/ilm-settings.html