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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...