Dashboards & Visualizations

How to set a Token when the dashboard is 100% loaded



I need to be able to know when a dashboard is 100% completed, how can i get a token for this?

I had an idea of doing something like this after each search.

            <condition match="'job.resultCount'>0">

               <set token="PAGE_LOADED1">LOADED</set>


However this is a very manual way of doing it (PAGE_LOADED1 + PAGE_LOADED2 + PAGE_LOADED3 > 0 etc..), i was hoping for an easy peace of code that i can put at the top of each dashboard.


Tags (1)
0 Karma


Use the <done> tag inside your searches:

        <set token="thispanelstoken">done</set>

Relying on $job.resultCount$>0 is not a good practice: what happens when the search returns no values? Your condition would fail, but it would be "done".

What are you trying to do with these "completed" tokens?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...