You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create an ISM policy for index pattern [*logs-bs.cbes-*] with priority 100 and failing with below error. However I didn't see any policy matching the index pattern already present. When I create the policy with the priority number not present in existing policies it works. I am not sure how these indexes are overlapping ?
{
"error" : {
"root_cause" : [
{
"type" : "index_management_exception",
"reason" : "New policy ism_policy_opensearch_prim630-uat_cbes has an ISM template with index pattern [*logs-bs.cbes-*] matching existing policy templates, please use a different priority than 100"
}
],
"type" : "index_management_exception",
"reason" : "New policy ism_policy_opensearch_prim630-uat_cbes has an ISM template with index pattern [*logs-bs.cbes-*] matching existing policy templates, please use a different priority than 100",
"caused_by" : {
"type" : "exception",
"reason" : "java.lang.IllegalArgumentException: New policy ism_policy_opensearch_prim630-uat_cbes has an ISM template with index pattern [*logs-bs.cbes-*] matching existing policy templates, please use a different priority than 100"
}
},
"status" : 400
}
The other policies have following index pattern and priority
Describe the bug
I am trying to create an ISM policy for index pattern [*logs-bs.cbes-*] with priority 100 and failing with below error. However I didn't see any policy matching the index pattern already present. When I create the policy with the priority number not present in existing policies it works. I am not sure how these indexes are overlapping ?
{
"error" : {
"root_cause" : [
{
"type" : "index_management_exception",
"reason" : "New policy ism_policy_opensearch_prim630-uat_cbes has an ISM template with index pattern [*logs-bs.cbes-*] matching existing policy templates, please use a different priority than 100"
}
],
"type" : "index_management_exception",
"reason" : "New policy ism_policy_opensearch_prim630-uat_cbes has an ISM template with index pattern [*logs-bs.cbes-*] matching existing policy templates, please use a different priority than 100",
"caused_by" : {
"type" : "exception",
"reason" : "java.lang.IllegalArgumentException: New policy ism_policy_opensearch_prim630-uat_cbes has an ISM template with index pattern [*logs-bs.cbes-*] matching existing policy templates, please use a different priority than 100"
}
},
"status" : 400
}
The other policies have following index pattern and priority
"priority" : 100,
"index_patterns" : [
"*abc-es-logging-index-*",
"otel-v1-apm-span-*"
],
"index_patterns" : [
"*logs-bs.couchbase-*"
],
"priority" : 102,
"index_patterns" : [
"*logs-bs.elastic-*"
],
"priority" : 101,
Related component
Indexing
To Reproduce
Expected behavior
It should create the ISM policy as the index patterns don't overlap
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: