Dashboards & Visualizations

Automatically Refresh Dashboard and search panels

Prasobh
Observer

Hi Team,

The xml for my Dashboard consists of multiple search queries within a panel.
What can I add to it to make the Dashboard automatically refresh along with the panels? 
I have followed the documentation (http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML) and included refresh interval in the form attribute and set the refresh type and refresh interval for individual panels using the <search> element.

<form refresh="30">

<form>
  <row>
    <panel>
      <table>
        <search>
          <query> ... </query>
          <earliest>-60m@m</earliest>
          <latest>now</latest>
          <refresh>60</refresh>
          <refreshType>delay</refreshType>
        </search>
      </table>
    </panel>
  </row>
</form>

Here, i am using div for each table query and appending these child tables to list under the parent table in a dropdown manner using the javascript.

Prasobh_0-1728650425745.png

 


With this implementation, refresh is not working at the specified interval and the dropdown table will get exit at every refresh interval and we would need to reload the entire dashboard to see the dropdown content in the child table.

Labels (2)
0 Karma
Get Updates on the Splunk Community!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...