index-management
index-management copied to clipboard
[FEATURE REQUEST] ISM template index pattern support excluding operator -
Describe the bug
I have a index pattern *,-code*
to include all index and exclude "code*"
when I use this index pattern to ILM . I Found it's not work.
"ism_template": [
{
"index_patterns": [
"*",
"-code*"
],
"priority": 100,
"last_updated_time": 1623292398930
}
]
ILM Policy always include all index。
To Reproduce Steps to reproduce the behavior: like this create * and -somestring
Expected behavior I want the policy pass some index
Plugins Please list all plugins currently enabled.
Screenshots
Host/Environment (please complete the following information):
-
OS: aws OpenSearch | 1.0
-
Version 1.0
Additional context
Maybe i just set priority to change the index's Policy
Hi @pytomtoto ,
Probably this is a feature request for Index Management plugin.
In their user guide (https://opensearch.org/docs/latest/im-plugin/ism/policies/), it's not mentioned that "index_patterns" supports excluding targets with the syntax -
.
I will ask the team to transfer the issue to index-managment repository to let the developers there give a better answer.
ISM doesn't support -
pattern to exclude sth. This can be a feature request.
Should be a very useful feature
Can I be assigned this feature request? Thank you!