Dashboards & Visualizations

Is it possible to display an image to the user while a dashboard and all its panels are loading?

HattrickNZ
Motivator

I have a dahboard with many charts/panels. What I would like is to display a gif to the user saying something like "Go and have a cup of tea and this will be fully loaded when you get back". Can I load an image/gif while all the panels are loading in the dashboard?

I was hoping to do this in xml, but may have to use html. All answers suggestions appreciated.

rjthibod
Champion

I think you could use something like this as a starting point if you are using 6.3 or newer. This should show the waiting.gif once the search below starts, and it would show the chart once the search is done.

<html rejects="$show_panel$">
  <img style="..." src="/static/app/<APP_NAME>/waiting.gif"/>
</html>
<chart depends="$show_panel$">
  <search>
    <query>...</query>
    <progress>
      <condition>
        <unset token="show_panel"/>
      </condition>
      </progress>
     <done>
      <condition>
        <set token="show_panel">true</set>
      </condition>
    </done>
  </search>
</chart>
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...