Don't show toasts when there are missing indices #151670
Labels
enhancement
New value added to drive a business result
Feature:Discover
Discover Application
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
We recently decided to declassify missing indices as errors.
This causes various toast storms like this:
There are several ways to archieve this e.g.
kibana/src/plugins/data_views/server/routes/fields_for.ts
Line 87 in 9a5df11
Could be changed to
This way, given the
allowNoIndex
is set, it would be used, while if it's undefined, the new default would betrue
Alternatively @mattkime suggested to apply this at the following parts of the code:
kibana/src/plugins/data_views/common/data_views/data_views.ts
Line 533 in 668fe89
kibana/src/plugins/data_views/common/data_views/data_views.ts
Line 546 in 668fe89
As a follow up, for cases that would need the information about missing indices it's recommended to create a function in the data views API to check for that, so consumers are able to display the information about that state.
The text was updated successfully, but these errors were encountered: