After you enable the scenario-based configuration feature, you can use the related template to modify the index lifecycle configurations of a cluster. You can only modify the index lifecycle configurations of Elasticsearch clusters of V6.7.0 or later of the Advanced Edition. This topic describes the parameters related to the index lifecycle configurations of a cluster.

For more information about how to modify the index lifecycle configurations of a cluster, see Use a scenario-based template to modify the configurations of a cluster. The following table describes the related parameters.
Notice The policy defined in the default index lifecycle template is named aliyun_default_ilm_policy. This policy is already applied to aliyun_default_index_template.
Parameter Description
phases.hot.min_age The time required for an index to enter the hot phase.
phases.hot.actions.set_priority.priority The priority of an index in the hot phase.
phases.warm.min_age The time required for an index to enter the warm phase.
phases.warm.actions.allocate.number_of_replicas The number of replica shards for an index in the warm phase.
phases.warm.actions.allocate.require.box_type The shard allocation policy in the warm phase. For example, the system allocates shards to warm nodes.
phases.warm.actions.set_priority.priority The priority of an index in the warm phase.
phases.cold.min_age The time required for an index to enter the cold phase.
phases.cold.actions.set_priority.priority The priority of an index in the cold phase.