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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...