Dashboards & Visualizations

How do I set a selected value for the multidropdownview?

keithyap
Path Finder

I have 2 dashboards, an overview dashboard where I would drilldown to another dashboard with the multidropdownview. How do I set a selected value on the multidropdownview when drilling down from the overview dashboard? For normal form inputs I can just add the form."tokenName" and that would set the value for the input. Is there a way I can achieve this with multidropdownview?

0 Karma
1 Solution

lquinn
Contributor

Assuming this is a django dashboard, you can set the vlue forthe multidropdownview in javascript like this:

 splunkjs.mvc.Components.getInstance("your-multi-dropdown-id").settings.set("default",["dropdownvalue"]);

View solution in original post

lquinn
Contributor

Assuming this is a django dashboard, you can set the vlue forthe multidropdownview in javascript like this:

 splunkjs.mvc.Components.getInstance("your-multi-dropdown-id").settings.set("default",["dropdownvalue"]);
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...