Dashboards & Visualizations

Global Time Picker

Marco
Communicator

Hello Splunkers,

I'm developing a Splunk app with about 20 dashboards (20 XML files). Each dashboard has a time picker. The thing I have noticed is that when a user clicks on a new dashboard, the time picker resets. My question is: does Splunk have some sort of Global time picker, so that when a user selects a time value on the time picker it will follow them across multiple dashboards.

 

Attached below is a brief design of my application and what I am trying to do.

Splunk App Arc.jpg

 Any suggestions is much appreciated.

Thank you,

Marco

Labels (5)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

@Marco 

If you are travelling between dashboards via drilldown clicks on dashboards, then you can pass the current time picker values in the URL parameters, e.g. add 

 

form.time_range.earliest=$time_range.earliest$&form.time_range.latest=$time_range.latest$

 

to your drilldown links, along with any other url params you are passing. The above assumes your token for the time picker is called time_range.

 

View solution in original post

0 Karma

bowesmana
SplunkTrust
SplunkTrust

@Marco 

If you are travelling between dashboards via drilldown clicks on dashboards, then you can pass the current time picker values in the URL parameters, e.g. add 

 

form.time_range.earliest=$time_range.earliest$&form.time_range.latest=$time_range.latest$

 

to your drilldown links, along with any other url params you are passing. The above assumes your token for the time picker is called time_range.

 

0 Karma

Marco
Communicator

Thank you, @bowesmana . it took me a while to see what you meant but I figured it out .  For anybody that might  be curious on how I implemented the code - check below.

dashboard1 is the name of the dashboard I want to go to and the string following that is the time picker value.

<link>dashboard1?form.Time_Picker.earliest=$Time_Picker.earliest$&amp;form.Time_Picker.latest=$Time_Picker.latest$</link>

 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...