Splunk Search

How to parse search time from one dashboard to another

leomedina
Explorer

Hello all,

I have several dashboards and would like to keep the same time searching period when navigating from one dynamic dashboard to another. What would be the best approach for something like this?

0 Karma

woodcock
Esteemed Legend

Just add a timepicker, give it a default value and reference it inside of each of your panel's searches. If you would like it to not be alterable, then make the control invisible.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi leomedina,
are you speaking about drilldown?
if you want to pass the time period from a dashboard to another you have to insert in your drilldown url the two tokens, something like this:

<drilldown>
  <link>secondary_dashboard?token1=$row.field1$&amp;TimeFrom=$Time.earliest$&amp;TimeTo=$Time.latest$</link>
</drilldown>

and in the secondary dashboard you have to insert the two time tokens in earliest and latest tags

<earliest>$TimeFrom$</earliest>
<latest>$TimeTo$</latest>

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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