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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...