[Index Patterns] Better alias handling #110608
Labels
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Describe the feature:

When creating an Index Pattern, Kibana automatically adds the trailing
*
as the user starts typing.Ideally, Kibana should show a warning when the index pattern matches both: aliases and indices. Or it could even stop the automatic addition of the
*
if the name matches an alias (allowing the user to explicitly add it, though).Describe a specific use case for the feature:
This could cause unexpected behaviours in data models where the alias points to the latest-most-recent index, but the user keeps the old indices for recovery purposes.
i.e.:
my-index-001
containing all the documents, and the aliasmy-index
is pointing tomy-index-001
.my-index-002
. When the reindex is done, they point the alias to the new index, but they don't deletemy-index-001
just in case they need to rollback.When the index pattern is
my-index*
, it returns duplicated results until the old index is removed. IMO, Kibana should make it more obvious to the the user that this may occur when including an alias and an index in the same index-pattern.What do you think?
The text was updated successfully, but these errors were encountered: