Closed
Description
openedon Jul 30, 2024
I went to Stack Management
-> Index Management
, clicked on Index Templates
, and Create Template
. I gave the template the name match-all-test
, the index index pattern *
, priority 1000
. I clicked Next
, and then clicked Review Template
. When I clicked Create Template
, the template was created fine, and I was able to use it. But when I clicked on the Preview
tab of the pop-up window I got when the template was created, I saw this:
{
"statusCode": 400,
"error": "Bad Request",
"message": "index template [simulate_template_qdey_a06qjm8tepvpcfxfq] has index patterns [a_fake_index_pattern_that_wont_match_any_indices] matching patterns from existing templates [all-data-streams] with patterns (all-data-streams => [*]) that have the same priority [5], multiple index templates may not match during index creation, please use a different priority",
"attributes": {
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "index template [simulate_template_qdey_a06qjm8tepvpcfxfq] has index patterns [a_fake_index_pattern_that_wont_match_any_indices] matching patterns from existing templates [all-data-streams] with patterns (all-data-streams => [*]) that have the same priority [5], multiple index templates may not match during index creation, please use a different priority"
}
],
"type": "illegal_argument_exception",
"reason": "index template [simulate_template_qdey_a06qjm8tepvpcfxfq] has index patterns [a_fake_index_pattern_that_wont_match_any_indices] matching patterns from existing templates [all-data-streams] with patterns (all-data-streams => [*]) that have the same priority [5], multiple index templates may not match during index creation, please use a different priority"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment