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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...