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!

This Week's Community Digest - Splunk Community Happenings [9.26.22]

Get the latest news and updates from the Splunk Community here! Upcoming User Group Events! 👏 Check ...

BSides Splunk 2022 - The Call for Papers is now Open!

TLDR; Main Site: https://bsidessplunk.com CFP Site: https://bsidessplunk.com/cfp CFP Opens: December 15th, ...

Sending Metrics to Splunk Enterprise With the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...