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)
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...