-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:Logs UILogs UI featureLogs UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Description
📓 Summary
Since the Logs UI will not be the main log consumption UI when Kibana is run in observability-serverless mode, we want to reconfigure the client-side routes to redirect to a different UI in that case. Where exactly that UI will be located and how it can be linked to has not been decided, so we need to link to Discover for now.
✔️ Acceptance criteria
- There is a configuration option in the
infraplugin, which switches the behavior of the client-side routes. - When unset or set to the default value
logs-ui, the routes behave as before and below changes don't have any effect. - When set to the constant
discover, the app routes of the Logs UI redirect to equivalent Discover views using locators:- When the Logs UI is configured to use an index name pattern, the redirect contains an equivalent ad-hoc data view.
- When the Logs UI is configured to use a data view, the redirect contains its id.
- The redirect sets the columns in discover to match the columns of the log view.
- The
fieldtype columns are used as they are. - The
timestamptype column is translated into a column showing the@timestampfield. - The
messagetype column is translated into a column showing themessagefield.
- The
- In the file
config/serverless.oblt.ymlthe configuration option is set todiscover.
💡 Implementation hints
Metadata
Metadata
Assignees
Labels
Feature:Logs UILogs UI featureLogs UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services