kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[Metrics UI] [Fleet] [R&D] Allow integrations to install Metrics UI saved views

Open jasonrhodes opened this issue 4 years ago • 10 comments

Based on some of the work being done here https://github.com/elastic/kibana/pull/95885

We should investigate the feasibility of allowing packages to specify saved views that would be installed in the Metrics UI on package installation/upgrade. This would allow a package to immediately plug users into the Metrics UI based on their selection to "collect metrics" for the particular package. (Later, when we add Logs UI Saved Views, we can do the same for Logs UI!)

AC:

  • Create an implementation ticket outlining clearer AC for what would need to be done so that:
    • A package could specify Metrics UI saved view(s) that would be installed on package installation/upgrade
    • Those view URLs would be linked from the asset list in the integration/package UI

jasonrhodes avatar Apr 07 '21 20:04 jasonrhodes

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

elasticmachine avatar Apr 07 '21 20:04 elasticmachine

Pinging @elastic/fleet (Feature:Fleet)

elasticmachine avatar Apr 07 '21 20:04 elasticmachine

Pinging @elastic/fleet (Feature:EPM)

elasticmachine avatar Apr 07 '21 20:04 elasticmachine

++ on adding support for metrics UI saved views to the packages. This will also need an issue in the package-spec repo to get it added to the spec: https://github.com/elastic/package-spec/blob/master/CONTRIBUTING.md#change-proposals

ruflin avatar Apr 08 '21 12:04 ruflin

Here some thoughts:

  • Kubernetes seems like an ideal candidate where the pods are grouped by namespace initially.
  • It would be amazing if we could set the default screen for a host type to a saved view. For example, I would want Kubernetes Pods to use the "Grouped By Namespace" saved view by default. Where the EC2 view type to default to "Grouped by Availability Zone"

simianhacker avatar Apr 08 '21 17:04 simianhacker

I think this issue should also include the developer's perspective. Similar to how we create OOB dashboards today, the integration developer will need to be able to create a custom view in Kibana, save it and export it to a file that can later on be used as a package asset.

sorantis avatar Apr 30 '21 10:04 sorantis

I think this issue should also include the developer's perspective

Can you say more about what you mean here?

jasonrhodes avatar May 04 '21 03:05 jasonrhodes

Sorry, I should've clarified. Today the job of creating content for our integrations (e.g. dashboards) is done by the integration developers. Saved views (as the intent is described here) would become part of the package content, much like dashboards are today. Since the integration developers are responsible for building content for integrations (except ML jobs), then I think the issue should cover the process from creating a saved view to making it part of the package. For context, to provide an out-of-the-box dashboard today, one has to manually create visualizations in Kibana and arrange them on a dashboard, save the dashboard, and finally export it.

sorantis avatar May 04 '21 08:05 sorantis

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

elasticmachine avatar Nov 14 '23 00:11 elasticmachine

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

botelastic[bot] avatar May 12 '24 00:05 botelastic[bot]

We're not planning on this specific feature at this time.

smith avatar May 18 '24 03:05 smith