-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Invisible filters when re-indexing. #7767
Comments
Instead of deleting the old index pattern, have you considered creating an alias with the same name as your old index which points to the new index? I believe this is how our migration tool works, and probably provides a smoother transition in general. If you just want to remove the filter, you should be able to do so in the "Saved Object" section of the Kibana settings. Pop open the relevant dashboard and edit the |
It happens when the filter index is different from the ones of the dashboard. To recreate the issue: eg:
Now change
Load the complete url. The filter will not be displayed but the visualization will be affected. If you add another filter it will not be displayed.
|
@Hugodby so would an acceptable solution be to display a warning in the UI, possibly with an option to remove the incorrect filters? |
It depends if you judge a correct behavior masking the incorrect filter(s) but still applying them.
|
Ah right, I was forgetting that the filter still takes effect despite pointing at an incorrect index pattern. I that case I'd lean towards option two: warn the user, give them a way to delete the filter if desired, don't apply the filter in its current state. This way the user will be aware of the issue, can take action to remedy it, but we won't be modifying their saved objects without their knowledge. |
`v94.5.0-backport.1` ⏩ `v94.5.1` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) --- ## [`v94.5.1`](https://github.com/elastic/eui/releases/v94.5.1) **Bug fixes** - Fixed an `EuiDualRange`s with `showInput` bug, where `min`/`max` values and invalid states were not being correctly set if values were empty strings ([#7767](elastic/eui#7767)) **Accessibility** - Improved `EuiDatePicker` and `EuiSuperDatePicker`'s time selection screen reader UX ([#7726](elastic/eui#7726)) - Improved the accessibility of `EuiDatePicker` by providing full screen-reader-only week day names to the calendar header ([#7748](elastic/eui#7748)) - Improved `EuiBadge`'s ability to tell when text within the badge is selected/highlighted and selection color contrast ([#7752](elastic/eui#7752))
Kibana version: 4.5c
Server OS version: -
Browser version: google chrome
Browser OS version: -
Original install method (e.g. download page, yum, from source, etc.): -
Description of the problem including expected versus actual behavior: when reindexing data using the elastic reindex api under a new index name the dashboard using that name applies previous filters without showing them in the green tabs. If a dashboard has filters saved and then you reindex the data using a different index name then change all of the visualisations to the new index name the filter is applied but you cant change it. the only way to solve this is to delete the dashboard and filters and then recreate them then the filters will no longer be applied.
Steps to reproduce:
I have tried exporting the dasboard and visualisations to see if their is anything filtering but there is nothing. this makes it hard to reindex using a new name as the dashboard will have to be recreated.
The text was updated successfully, but these errors were encountered: