You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Read onlyedit
Phases allowed: hot, warm, cold.
Makes the index read-only; writes and metadata changes are no longer allowed.
To use the readonly
action in the hot
phase, the rollover
action must be present.
If no rollover action is configured, ILM will reject the policy.
Optionsedit
None.
Exampleedit
PUT _ilm/policy/my_policy { "policy": { "phases": { "warm": { "actions": { "readonly" : { } } } } } }