Dashboards & Visualizations

How to configure a view to automatically refresh?

danurag
Explorer

The view definition looks like so

<?xml version='1.0' encoding='utf-8'?>
    <dashboard>
      <!--
    NOTE: This file was automatically generated by Splunk.  Use caution when editing manually.
    -->
      <label>Api Calls</label>
      <row>
        <chart>
          <searchName>Api Call</searchName>
          <title>Api Calls</title>
          <option name="drilldown">all</option>
        </chart>
      </row>
    </dashboard>

How do I refresh this view automatically every 2 minutes?

Tags (1)
1 Solution

sideview
SplunkTrust
SplunkTrust

Put refresh="120" into the <dashboard> tag at the top. This works for both the advanced and the simplified XML.

Granted it's a little crude, in that the entire page just refreshes every N seconds, but it gets the job done.

View solution in original post

marellasunil
Communicator

But check for the running jobs, We used this module & could see no data in the dashboards bec of too many jobs running. I am not sure this is bec of the refresh module, but once I clear the jobs I could see the data. So we deleted refresh module, & now it is working very fine.

0 Karma

sideview
SplunkTrust
SplunkTrust

Put refresh="120" into the <dashboard> tag at the top. This works for both the advanced and the simplified XML.

Granted it's a little crude, in that the entire page just refreshes every N seconds, but it gets the job done.

Get Updates on the Splunk Community!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...