Elasticsearch is the tool in question here. Curator will not use regular expressions (not currently, anyway) to select which indices to restore from the list in the snapshot metadata. The
indices parameter is used by Elasticsearch, and its value is merely passed by Curator.
According to the Elasticsearch documentation:
indices parameter to restore only specific data streams or indices. This parameter supports multi-target syntax.
Regarding multi-target syntax:
In multi-target syntax, you can use a comma-separated list to run a request on multiple resources, such as data streams, indices, or aliases:
test1,test2,test3 . You can also use glob-like wildcard (
* ) expressions to target resources that match a pattern:
You can exclude targets using the
There is a caveat that if an alias is referenced by a glob-like wildcard, it will restore the associated index.
For example, if
test3 is an index alias, the pattern
test*,-test3 still targets the indices for
test3 . To avoid this, exclude the concrete indices for the alias instead.