Dashboards & Visualizations

How to make a single panel in a dashboard autorun?

brajaram
Communicator

Is there a way to make a single panel in a dashboard autorun? I know I can set the refresh field in the dashboard itself to make the whole thing refresh on a timer, but I only want a single panel to do so.

Tags (2)
0 Karma
1 Solution

deepashri_123
Motivator

Hey brajaram,

You can refer the link below:
http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML

Panel refresh

 <option name="refresh.auto.interval">60</option>

Also works with tokens if you want to allow the user to specify with a dashboard dropdown.

   <option name="refresh.auto.interval">$refresh_interval$</option>

Dashboard input example:

     <input type="dropdown" token="refresh_interval" searchWhenChanged="true">
       <label>Panel Refresh Override</label>
       <choice value="60">1 Minute</choice>
       <choice value="300">5 Minutes</choice>
       <default>300</default>
     </input>

Let me know if this helps!!

View solution in original post

deepashri_123
Motivator

Hey brajaram,

You can refer the link below:
http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML

Panel refresh

 <option name="refresh.auto.interval">60</option>

Also works with tokens if you want to allow the user to specify with a dashboard dropdown.

   <option name="refresh.auto.interval">$refresh_interval$</option>

Dashboard input example:

     <input type="dropdown" token="refresh_interval" searchWhenChanged="true">
       <label>Panel Refresh Override</label>
       <choice value="60">1 Minute</choice>
       <choice value="300">5 Minutes</choice>
       <default>300</default>
     </input>

Let me know if this helps!!

nick405060
Motivator

This has been deprecated in 7.2.0

0 Karma

CARLOSEMONTESP
Explorer

Hi.

¿Whats the new way to do that if...

" $refresh_interval$"

...was deprecated?

Thanks in advance.

0 Karma

brajaram
Communicator

Yep, refresh.auto.interval works perfectly, thanks!

0 Karma

damiensurat
Contributor

Which version of Splunk are you running on? The later versions allow you to independently execute searches in each panel. This can be achieved by editing the dashboard and editing the panel search then choosing to execute the searches at a scheduled frequency.

0 Karma

brajaram
Communicator

I'm on version 6.5.3. Where in the documentation would I find being able to execute the searches at a scheduled frequency? I saw the refresh tab in panel reference, how do I do that for the specific searches?

My code is:

    <panel>
      <single>
        <title>Current Logged in Count</title>
        <search>
          <query>index=... | stats dc(uid)</query>
          <earliest>-5m</earliest>
          <latest>now</latest>
        </search>
      </single>
    </panel>
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...