Dashboards & Visualizations

Two timerange pickers in one panel to compare custom time ranges

imrago
Contributor

I would like to compare events from two different custom time ranges. If I put two timerange modules in a panel, how could I get the values of those, to populate the earliest and latest variables in the outer and inner searches?

Tags (1)
0 Karma
1 Solution

nfilippi_splunk
Splunk Employee
Splunk Employee

Splunk 6.1 supports this in Simple XML fully through the UI editor.

- click add form input > time (and repeat)
- configure unique tokens for each time picker
- within the respective search editors, select the corresponding time range picker to bind to

alt text

View solution in original post

0 Karma

nfilippi_splunk
Splunk Employee
Splunk Employee

Splunk 6.1 supports this in Simple XML fully through the UI editor.

- click add form input > time (and repeat)
- configure unique tokens for each time picker
- within the respective search editors, select the corresponding time range picker to bind to

alt text

0 Karma

norbert_hamel
Communicator

Hi,
you have labelled this question as advanced XML. Do you need advanced XML? Or could you switch to HTML instead?
Using HTML you could easily duplicate the time range picker and use different token names for both instances.

Cheers
Norbert

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...