Dashboards & Visualizations

Automatically Refresh Dashboard and search panels

Prasobh
Loves-to-Learn

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...