-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sanitize index templates before removal #72780
Comments
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
This sounds like it pertains to the ES API, not the UI. I'll move this over to the ES repo. |
Pinging @elastic/es-core-features (Team:Core/Features) |
I've raised this in Kibana because ES API does what it is supposed to do - it honours the wildcard. There's a slight difference in perception when you delete a specific index template in the UI (you select only one specific item on the list), vs. when running the ES API call with Random thoughts on how this could be addressed:
|
We likely won't introduce any breaking changes for the legacy index templates. However, for composable templates (and component template) this is relevant. I added team discuss to discuss if, on delete and a somewhat related to: #65667 |
@gbanasiak Thanks for your explanation! Now I understand. Yes, this is certainly a confusing UX. Thanks for your thoughts on possible solutions, too. |
This is an unfortunate consequence of the fact that we inadvertently permitted characters such as |
Kibana version: 7.11.1
Describe the bug:
Removal of an index template with
*
results in removal of all matching index templates. Note: prior to ES 7.8.0, index templates with*
were accepted (see PR #56170, issue #43737).Steps to reproduce:
test-*
andtest-1
legacy index templates (PUT _template/<template-name>
).test-*
index template in Kibana -> Stack Management -> Index Management -> Index Templatestest-1
andtest-*
index templates were removed (due totest-*
inDELETE _template/test-*
being interpreted as an index template name wildcard).Expected behavior:
Only the index template selected for removal is in fact removed.
The text was updated successfully, but these errors were encountered: