Dashboards & Visualizations

Passing time value from one dashboard using drilldown to another dashboard in Studio version of Splunk Dashboard?

dmitrynt
Engager

Hey guys,

First post, new user.

I see example on how to implement drilldown passing time value from one dashboard to another, but how to do it in Studio builder as its not using xml code?

 

Thank you.

Labels (2)
0 Karma

dmitrynt
Engager

Example would be: clicking drilldown in first dashboard which had search set to "7 days" would take value of time picker of "7 days" and pass it to 2nd dashboard on click.  That way my 2nd dashboard will also open up with 7 day search.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Simply pass the current token values in the link to dashboard

			"eventHandlers": [
				{
					"type": "drilldown.linkToDashboard",
					"options": {
						"app": "answers",
						"dashboard": "timepicker_drilldown_target",
						"tokens": [
							{
								"token": "global_time.earliest",
								"value": "$global_time.earliest$"
							},
							{
								"token": "global_time.latest",
								"value": "$global_time.latest$"
							}
						]
					}
				}
			]
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...