[DataViews] Check if logs-*
, metrics-*
, apm-
empty state workaround is still needed and clean up
#127869
Closed
2 of 3 tasks
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:medium
Medium Level of Effort
technical debt
Improvement of the software architecture and operational architecture
Summary:
In #108887, #110094 we added a list of hardcoded "default" assets into logic to check if this is a new instance of Kibana to show a welcome screen and present other empty states.
Since #82851 is fixed in 8.1 it is likely that we can clean up that code: remove a list of hardcoded assets completely or at least reduce number of them:
logs-*
,metrics-*
data view workaround is still needed as Fleet system package installs 15 Dashboards, 120+ Visualizations and 2 Kibana index-patterns #82851 is fixedapm-*
workaround is still needed original issuelogs-enterprise_search.api-default
workaround is still needed, but possibly can be addressed by ent search team cc @aznickRelevant code:
kibana/src/plugins/data_views/server/has_user_index_pattern.ts
Lines 18 to 63 in 041b5e1
kibana/src/plugins/data_view_editor/public/components/empty_prompts/empty_prompts.tsx
Lines 32 to 46 in ade7177
Related issues:
#124019
cc @shivindera @mattkime
The text was updated successfully, but these errors were encountered: