Dashboards & Visualizations

how to show "Waiting for data" in my html panel table while the base search loads

Nadhiyaa
Path Finder

how to show "Waiting for data" in my html panel table while the base search loads

Tags (1)
0 Karma

renjith_nair
Legend

@Nadhiyaa ,

Try this

<dashboard>
  <search id="base_search_id">
    <query>index=_internal earliest=-30d|stats count by sourcetype,source</query>
    <done>
      <set token="base_loaded">true</set>
    </done>
  </search>
  <row rejects="$base_loaded$">
    <panel>
      <html>
        <h1>Waiting for data ..........................</h1>
      </html>
    </panel>
  </row>
  <row>
    <panel  depends="$base_loaded$">
      <table>
        <search base="base_search_id">
          <query>|fields sourcetype</query>
        </search>
        <option name="drilldown">none</option>
      </table>
    </panel>
  </row>
</dashboard>
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...