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 as Code: From Zero to Dashboard

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

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...