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
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...