Dashboards & Visualizations

Dashboard Studio Multi Select

jason_hotchkiss
Communicator

Hello - 

I am using Dashboard Studio.  Within my dashboard, I have added a multi select input with the token name of "ms_clients".

Within my dashboard, I have created a base search and chain to support to populate this input.

Within my source code, I have added the data source value for dataSources value of this search.

I am not sure what I have done wrong, my mult select values will not populate.  

Any suggestions?

Filter Base Search

 

 

"ds_IxHRgRCU": {
			"type": "ds.chain",
			"options": {
				"extend": "ds_N4XDvyXB",
				"query": "| search unit_id = $dd_UnitId$\n| stats count by dest\n| fields - count"
			},
			"name": "filter_clients_search"
		}

 

 


Multi Select Input

 

 

 

"input_xvZpOcK4": {
			"options": {
				"items": [
					{
						"label": "All",
						"value": "*"
					}
				],
				"defaultValue": "*",
				"token": "ms_Clients",
				"dataSources": {
					"primary": "ds_IxHRgRCU"
				}
			},
			"title": "Clients",
			"type": "input.multiselect"
		}


 Thanks in advanced!

Labels (1)
Tags (1)
0 Karma
1 Solution

jason_hotchkiss
Communicator

Ok - I figured this out.  here is the corrected code:

      

 

  "input_xvZpOcK4": {
            "options": {
                "items": [
                    {
                        "label": "All",
                        "value": "*"
                    }
                ],
                "defaultValue": "*",
                "token": "ms_Clients"
            },
            "title": "Clients",
            "type": "input.multiselect",
            "dataSources": {
                "primary": "ds_IxHRgRCU"
            }
        }

 

View solution in original post

Tags (2)

jason_hotchkiss
Communicator

Ok - I figured this out.  here is the corrected code:

      

 

  "input_xvZpOcK4": {
            "options": {
                "items": [
                    {
                        "label": "All",
                        "value": "*"
                    }
                ],
                "defaultValue": "*",
                "token": "ms_Clients"
            },
            "title": "Clients",
            "type": "input.multiselect",
            "dataSources": {
                "primary": "ds_IxHRgRCU"
            }
        }

 

Tags (2)
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...