elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.75k stars 8.15k forks source link

Provide drilldown capability for Saved Search panels on a Kibana Dashboard #73283

Open jeffvestal opened 4 years ago

jeffvestal commented 4 years ago

Describe the feature: I would like to drilldown from a "Saved Search" panel on a Kibana dashboard

Describe a specific use case for the feature: I have a transform that provides monitoring data information with the cluster as an entity. On an Operational dashboard, I would display this data frame index (transform output) as a Saved Search panel. When I want to "drilldown" on a cluster, I would like to be able to link to the Stack Monitoring app for that specific cluster (using cluster_uuid as part of the url). I would take an arbitrary url with the ability to embed context to complete the url

Other transform saved search panels would benefit from the ability to link back to Discover to view the original source documents that fed into the transform. linking to another dashboard for additional context, or other Solution apps.

Screen Shot 2020-07-27 at 8 50 16 AM Screen Shot 2020-07-27 at 9 10 47 AM

Part of : https://github.com/elastic/kibana/issues/42845 https://github.com/elastic/kibana/issues/55324 https://github.com/elastic/kibana/issues/78289

elasticmachine commented 4 years ago

Pinging @elastic/kibana-app (Team:KibanaApp)

elasticmachine commented 4 years ago

Pinging @elastic/kibana-app-arch (Team:AppArch)

streamich commented 4 years ago

@jeffvestal it looks like you have a number of use cases:

jeffvestal commented 4 years ago

Thanks for the extra info @streamich! There definitely are a few different use cases.

I did see the couple issues you linked, which will address some of the potential uses for drilldowns here. I didn't see any of them mention Saved Search panels specifically, so I wanted to call that out. Having custom urls with context loading will be very helpful.

I really like the idea of in-panel drilldowns. If you look at the second screen shot I originally posted, the bottom panel has Node specific metrics (heap, fs, load). I had one user ask for the ability to click on a cluster_name from the "Clusters" panel, and then show all the nodes associated with that cluster and their metrics. So being able to drill down by a cluster name, and redraw that panel with the filtered node info panel below it would be very slick.

bradyguy commented 4 years ago

I would like to see a similar capability. I have a basic dashboard that filters using controls a saved search. I would like to be able to take a row from that saved search and be able to drill down using 4 or 5 fields from that row to filter another search. One record in my saved search could result in another search of about 10 to 15 records. So basically being able to drill down from a saved search record, using fields from that record to filter the next saved search.

glazou commented 4 years ago

I would also like to see drilldown on saved search.

Let's say, I have a saved search with 4 columns: alert_id, server_id, alert_category, timestamp

I would like to be able to configure the drilldowns to be performed on each column (alert_id would drilldown to an "Alert dashboard", server_id would drilldown to a "Server dashboard", no drilldowns on other columns).

Alternatively, I would like to be able to configure an additional 'drilldown' column that would list all the drilldowns for the whole row: Alert dashboard, Server dashboard. Seems like it would make drilldowns a bit more discoverable on large table that can be a bit intimidating.

Many thanks for this wonderful new capability

mbudge commented 3 years ago

It would be good if users could use drill-downs from the options menu as well as the field level.

That way users can apply multiple filters before going to the options menu to move to another dashboards.

Currently they have to apply the filters to the query, then click on one of the fields to find the drill-down menu.

Having the drill-down menu in options would allow drill-downs to work with both visuals and saved search dashboards.

The user would be able to move to any dashboard of their choosing. Not just the dashboards paths configured for them.

mvanderlee commented 3 years ago

You can use Scripted Field for this: image

m-adams commented 2 years ago

I was just discussing this requirement today.

The requirement is you have a dashboard and you use elements to filter the data until you find an interesting item. You then want to shift to a detailed analysis view dashboard using drilldown but filtered on an element of that document. Maybe you want to only see that specific document in a detailed view so you could pick the doc id. There may also be scenarios where you want to jump to a new dashboard using an alement of the doc e.g. a category.

You can just about achieve that through building an aggregation viz based on the doc id and using that to drill down but it's clunky and means creating inneficient aggs that run on every load of the dashboard.

defutek-tj commented 11 months ago

Any update on this request? Is it on the roadmap? We have a customer that is requesting this capability.

elasticmachine commented 11 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)