Skip to content
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

No obvious way to delete an index pattern that matches 0 indices #48019

Closed
eherot opened this issue Oct 11, 2019 · 6 comments
Closed

No obvious way to delete an index pattern that matches 0 indices #48019

eherot opened this issue Oct 11, 2019 · 6 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort

Comments

@eherot
Copy link
Contributor

eherot commented Oct 11, 2019

Kibana version:
7.3.2
Elasticsearch version:
7.3.2
Describe the bug:
If an index pattern exists for an index or indices that have since been deleted, there is no way to delete the index pattern. The reason is that the only "delete" button for index patterns is on the index pattern details page, which will not load if there are no matching indices.
Steps to reproduce:

  1. Load Management > Index patterns
  2. Click on the index you wish to delete
  3. Message pops up saying No indices match pattern "YOUR_INDEX_PATTERN"

Expected behavior:
Either the details page should load even without the indices present OR there should be a delete button on the listing page

Any additional context:
This seems to have come up before (#9224) but I think the page has been redesigned since then and this problem is more related to page design than any kind of underlying logic problem.

@azasypkin azasypkin added bug Fixes for quality problems that affect the customer experience Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:AppArch labels Oct 15, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@azasypkin
Copy link
Member

@elastic/kibana-app-arch I also see another manifestation of the this problem in 7.4 (see gif below, there are no matching indices for win* index pattern):

bug

@peterpramb
Copy link

As a workaround (at least in 7.5+):
Management > Saved Objects -> Filter for Index Patterns, select the stale one(s), and Delete.

@mattkime
Copy link
Contributor

mattkime commented Sep 28, 2020

This appears to be resolved as of 7.11.

I suspect there's also a variation on the problem where loading the index pattern attempts to refresh the field list but no indices exist. Slightly different causes.

Removing the field cache likely fixed this problem - #82223

@ppisljar
Copy link
Member

ppisljar commented Mar 1, 2021

@mattkime can you close this with a link to the relevant PR ?

@ppisljar
Copy link
Member

ping @mattkime

@ppisljar ppisljar added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort labels Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort
Projects
None yet
Development

No branches or pull requests

6 participants