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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...