Query used to limit documents the alias can access.
indexstring
Data stream or index for the action.
Supports wildcards (*).
Wildcard patterns that match both data streams and indices return an error.
indicesuniononeOf
Data streams or indices for the action.
Supports wildcards (*).
Wildcard patterns that match both data streams and indices return an error.
One of:string[]orstring
index_routingstring
Value used to route indexing operations to a specific shard.
If specified, this overwrites the routing value for indexing operations.
Data stream aliases don’t support this parameter.
is_hiddenboolean · default: false
If true, the alias is hidden.
is_write_indexboolean
If true, sets the write index or data stream for the alias.
routingstring
Value used to route indexing and search operations to a specific shard.
Data stream aliases don’t support this parameter.
search_routingstring
Value used to route search operations to a specific shard.
If specified, this overwrites the routing value for search operations.
Data stream aliases don’t support this parameter.
must_existboolean · default: false
If true, the alias must exist to perform the action.
removeobject
Removes a data stream or index from an alias.
aliasstring
Alias for the action.
Index alias names support date math.
aliasesunionstring | string[]
Aliases for the action.
Index alias names support date math.
indexstring
Data stream or index for the action.
Supports wildcards (*).
indicesuniononeOf
Data streams or indices for the action.
Supports wildcards (*).
One of:string[]orstring
must_existboolean · default: false
If true, the alias must exist to perform the action.
remove_indexobject
Deletes an index.
You cannot use this action on aliases or data streams.
indexstring
Data stream or index for the action.
Supports wildcards (*).
indicesuniononeOf
Data streams or indices for the action.
Supports wildcards (*).
One of:string[]orstring
must_existboolean · default: false
If true, the alias must exist to perform the action.