Dashboards & Visualizations

How to refresh entire dashboard instead of panel when I select the time range picker value?

mvaradarajam
Path Finder

Hi All,
How to refresh entire dashboard instead of panel refresh when i select the time range picker value.

0 Karma

chimell
Motivator
 In all your rows and your panel enter this :

    <earliestTime>$time.earliest$</earliestTime>
           <latestTime>$time.latest$</latestTime> it will refresh your dashboard

 Look at the example :

<form >
       <label></label>
       <fieldset submitButton="false" autoRun="true">
         <input type="time" token="time" searchWhenChanged="true">
           <label/>
           <default>
             <earliestTime>0</earliestTime>
             <latestTime>now</latestTime>
           </default>
         </input>
        <input type="dropdown" token="index" searchWhenChanged="true">
      <label>Choose one index</label>
      <choice value="*">All</choice>
      <populatingSearch fieldForLabel="index" fieldForValue="index">| eventcount summarize=false index=* OR index=_*</populatingSearch>
      <default>*</default>
    </input>
       </fieldset>
       <row>
         <panel>
           <title></title>
           <searchString>index=$index$ OR index=_$index$|stats count</searchString>
           <earliestTime>$time.earliest$</earliestTime>
           <latestTime>$time.latest$</latestTime>
            </panel>

         <panel>
           <title></title>
           <searchString>index=$index$ OR index=_$index$|stats count as value</searchString>
           <earliestTime>$time.earliest$</earliestTime>
           <latestTime>$time.latest$</latestTime>
           </panel>
       </row>
     </form>
0 Karma

Smith_Splunk
Explorer

Make the searchWhenChanged to TRUE like below.

This will refresh complete panels whcih depends on the inline search

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Any panel depending on the time range picker will refresh - if you want more panels to refresh you need to make their searches use the tokens produced by the time range picker.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...