Hello All,
Require guidance to pass the default Global time token to be passed from one studio dashboard to another studio dashboard. Both dashboard have the same default global time token , no changes made. And the token used across the datasource of the respective panels..
i use the below custom url under drilldown to pass the token to another dashbaord.
https://asdfghjkl:8000/en-US/app/app_name/dashboard_name?form.global_time.earliest=$global_time.earl...
on the redirecting page , below is my input , on redirects it always loads the dashboard as per default value declare on the redirecitng dashbaord.
{
"type": "input.timerange",
"options": {
"token": "global_time",
"defaultValue": "0,"
},
"title": "Global Time Range"
}
kindly advice, the time range i select on main dashbaord , should be the same im passing to subdashbaord also.
try using a custom token like passed_time in the redirect URL and dashboard input
Drilldown URL
https://asdfghjkl:8000/en-US/app/app_name/dashboard_name?form.passed_time.earliest=$global_time.earliest$&form.passed_time.latest=$global_time.latest$on the redirecting dashbaord
{
"type": "input.timerange",
"options": {
"token": "passed_time",
"defaultValue": "-24h@h,now"
},
"title": "Global Time Range"
}
Then in your dashboard’s defaults section,
"queryParameters": {
"earliest": "$passed_time.earliest$",
"latest": "$passed_time.latest$"
}
Regards,
Prewin
Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!
@PrewinThomas @tej57 I have tried implementing the same, but for each redirection , the dashboard loads only the default value mentioned on the redirecting dashboard :
My redirecting dashboard link :
https://host:8000/en-US/app/app_name/dashboard_name?form.time.earliest=2025-03-01T00:00:00.000&f...
I have also tried it by removing the default value ,
{
"type": "input.timerange",
"options": {
"token": "passed_time"
},
"title": "Global Time Range"
}on this scenario i observed , my token is not being passed. and panels are showing waiting for input .
i validated it by capturing the tokens on the "ADD TEXT " field. the token passes its value, but my panel remained the same showing waiting for input.
I have also tried , with different default value for the input , still the same.
Hey @AsmaF2025,
Try using another name for the time token instead of global_time. And use the new name as a token to be passed to the other dashboard. I believe there's a conflict since both of the dashboards have global_time present as a token already.
Let us know if it works or not and we can troubleshoot further.
Thanks,
Tejas.
---
If the above solution helps, an upvote is appreciated.
Trying different token name on both dashabord doesnt work either.