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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...