All Apps and Add-ons

How do I display a panel in a dashboard only if it contains data?

dlangone
Engager

I'm creating a multi panel dashboard. At times it may be the case that there will be no data in the panel, such as a lack of an event that I am looking for. How can I supress that panel from being displayed in the dashboard so there are no big blank spaces within the dashboard.
Any suggestions?

nkpiquette
Path Finder

ppablo is correct. By setting a depends attribute you can hide the panel until that criteria is met. I am currently using that method in our tabbed interface to hide dynamic drill down panels.

ppablo
Retired

mm I'm not an XML expert, but I do remember seeing similar posts (that I can't find at the moment) on this topic and most of the time, using the depends panel attribute worked.
http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#Panel_visualiza...

0 Karma

cchitten
Path Finder

you can also use django bindings to make a much more advanced app which can be written in javascript and enables you to remove and add dashboards, panels and views.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...