Dashboards & Visualizations

Dashboard Initial Token input.

DanielPriceUK
Path Finder

Hi, All  Since the last Splunk update I've noticed some unexpected behavior when it comes to tokens with Splunk Dashboard Studio.

If you have an input (dropdown or multiselect) with a default value set to None.
After loading the dashboard page, then setting the input value,
The base searches in the dashboard that use the input token will update, 
but any chain searches of that base search do not.

It does however update if you either refresh the page with the tokens set in the url, or a change to the input for a second time. (any other action which causes the page to refresh in some way eg: editing page will update the dashboard and the chain search will update)

is this behaviour a bug, and is there currently a way to fix this behaviour?

Thanks Daniel 

Below is a self contained minimal example to demonstrate this.
Splunk Dashboard Studio: Absolute/Full control layout

 

{
	"visualizations": {
		"viz_cdPoxmBV": {
			"type": "splunk.table",
			"dataSources": {
				"primary": "ds_CJTH14Fk"
			},
			"title": "Base"
		},
		"viz_t4aAHmKH": {
			"type": "splunk.table",
			"title": "Chain",
			"dataSources": {
				"primary": "ds_aqLh17e3"
			}
		}
	},
	"dataSources": {
		"ds_CJTH14Fk": {
			"type": "ds.search",
			"options": {
				"query": "| makeresults\n| eval a=\"$input$\"\n| table a ",
				"queryParameters": {
					"earliest": "0",
					"latest": ""
				}
			},
			"name": "Search_Base"
		},
		"ds_aqLh17e3": {
			"type": "ds.chain",
			"options": {
				"extend": "ds_CJTH14Fk",
				"query": "| eval a=a+\"_END\""
			},
			"name": "Search_1"
		}
	},
	"defaults": {
		"dataSources": {
			"ds.search": {
				"options": {
					"queryParameters": {
						"latest": "$global_time.latest$",
						"earliest": "$global_time.earliest$"
					}
				}
			}
		}
	},
	"inputs": {
		"input_aXQ6s8I2": {
			"options": {
				"items": [
					{
						"label": "All",
						"value": "*"
					},
					{
						"label": "Item 1",
						"value": "item001"
					},
					{
						"label": "Item 2",
						"value": "item002"
					}
				],
				"token": "input"
			},
			"title": "Dropdown Input Title",
			"type": "input.dropdown"
		}
	},
	"layout": {
		"type": "absolute",
		"options": {
			"display": "auto-scale"
		},
		"structure": [
			{
				"item": "viz_cdPoxmBV",
				"type": "block",
				"position": {
					"x": 10,
					"y": 10,
					"w": 410,
					"h": 140
				}
			},
			{
				"item": "viz_t4aAHmKH",
				"type": "block",
				"position": {
					"x": 430,
					"y": 10,
					"w": 400,
					"h": 140
				}
			}
		],
		"globalInputs": [
			"input_aXQ6s8I2"
		]
	},
	"description": "",
	"title": "Test_Token"
}

 




Labels (2)
0 Karma
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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...