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

@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>
Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out &gt;&gt; As our brave ...