Menu
Roll over to a new index (POST /{alias}/_rollover/{new_index})
Roll over to a new index
POST
/{alias}/_rollover/{new_index}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Roll over to a new index (POST /{alias}/_rollover/{new_index}) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{rollOverToANewIndexPostAliasRolloverNewIndex.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{rollOverToANewIndexPostAliasRolloverNewIndex.response.data.<field>}}.
{
"acknowledged": false,
"conditions": {},
"dry_run": false,
"new_index": "string",
"old_index": "string",
"rolled_over": false,
"shards_acknowledged": false
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?