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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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