Cold2Frozen
editCold2Frozen
editThis action is for an unusual case where an index is a mounted, searchable snapshot in
the cold tier and is not associated with an ILM policy. This action will not work with an index
associated with an ILM policy regardless of the value of allow_ilm_indices
.
action: cold2frozen description: "Migrate non-ILM indices from the cold tier to the frozen tier" options: index_settings: {} ignore_index_settings: [] wait_for_completion: True filters: - filtertype: ...
Empty values and commented lines will result in the default value, if any, being selected. If a setting is set, but not used by a given action, it will be ignored.
This action migrates the selected non-ILM indices from the cold tier to the frozen tier. You may well ask why this action is here and why it is limited to non-ILM indices. The answer is "redacted data." If an index must be restored from the cold tier to be live so that sensitive data can be redacted, at present, it must be disassociated from an ILM policy to accomplish this. If you forcemerge and re-snapshot the redacted index, you can still put it in the cold or frozen tier, but it will not be associated with an ILM policy any more. This custom action is for moving that manually re-mounted cold tier index to the frozen tier, preserving the aliases it currently has.
index_settings
editSettings that should be added to the index when it is mounted. This should be a YAML dictionary
containing anything under what would normally appear in settings
.
action: cold2frozen description: "Migrate non-ILM indices from the cold tier to the frozen tier" options: index_settings: routing: allocation: include: _tier_preference: data_frozen ignore_index_settings: [] wait_for_completion: True filters: - filtertype: ...
If unset, the default behavior is to ensure that the _tier_preference
is data_frozen
,
if available. If it is not, Curator will assess which data tiers are available in your cluster
and use those from coldest to warmest, e.g. data_cold,data_warm,data_hot
. If none of these are
available, it will default to data_content
.
ignore_index_settings
editThis should be a YAML list of index settings the migrated index should ignore after mount.
action: cold2frozen description: "Migrate non-ILM indices from the cold tier to the frozen tier" options: index_settings: ignore_index_settings: - 'index.refresh_interval' wait_for_completion: True filters: - filtertype: ...
If unset, the default behavior is to ensure that the index.refresh_interval
is ignored.