Splunk Search

Add shared time picker option for dynamic options on other Dashboard inputs

scottclark360
Engager

When using Splunk's dashboard editor, shared timepicker is not an available option for dynamic searches on other inputs such as dropdowns and multiselects. This can be overwritten by incorporating the shared timepicker within the search string i.e. earliest=$global_range.earliest$ latest=$global_range.latest$ but it would be nice to have the option similar to that of the statistics table that the inputs are being used to populate.

NOUMSSI
Builder

After you have add input time range with this source code:

<input type="time" token="global_range" searchWhenChanged="true">
      <label/>
      <default>
        <earliestTime>0</earliestTime>
        <latestTime>now</latestTime>
      </default>
</input>

Add this source code after each searches string that you have in your dashboard

<earliestTime>$ global_range.earliest$</earliestTime>
<latestTime>$ global_range.latest$</latestTime>

And time range will be applied to each panel on your dashboard.

0 Karma

lakromani
Builder

This should be added to GUI, since it already there for Panel.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...