elastic / kibana

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

Make Dashboard Options lists (dropdowns) select a sane default in "Only allow a single selection" mode #195828

Open morrone opened 4 hours ago

morrone commented 4 hours ago

Describe the feature:

We would like the Dashboard Options lists (dropdowns) to select a valid, single default value when running int "Only allow a single selection" mode. It is currently possible to statically select a default by hitting "Save" for the dashboard. But that static default might not be available in all time periods. For many of our use cases, we would prefer to just let Kibana pick any of the actually available values and use that for the default.

Describe a specific use case for the feature:

Imagine a dashboard designed to display various details about a single node of a cluster. Now imagine that there is a an Option list at the top of the dashboard that lets the user select the "Node name". If we were to save a static default value of "node1", then there may very well be times when that node is down for a day or two and reports no data. Going the the dashboard will show a bunch of errors, including in the dropdown. We would very much prefer that the default value just be any value that is actually present within the dashboard's selected time period.

morrone commented 4 hours ago

@IanLee1521