Version: SG FLX
Community
This is a Technical Preview and should not yet be used in production.
Rollover Action
Content
This creates a new write index for the alias specified in the index.aim.alias_mapping
index setting and removes the alias from the current index.
For every index this action should be applied to the index settings must contain an alias_mapping index.aim.alias_mapping
with the rollover_alias
configured. Otherwise, the rollover attempt would fail.
Index Settings Example
copy
{
"index.aim.policy_name": "my-policy",
"index.aim.alias_mapping": {
"rollover_alias": "my-alias"
}
}
Action Example
copy
{
"steps": [
...
{
"name": "active",
"conditions": [ ... ],
"actions": [
...
{
"type": "rollover"
},
...
]
},
...
]
}