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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...