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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...