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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...