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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.