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!

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 ...