Dashboards & Visualizations

How to hide a panel in a dashboard?

chimell
Motivator

Hi

I have a dashboard with 2 columns. The first column (on the left side) has 3 panels and the second column (on the right side) has also 3 panels. Is it possible to hide the second and third panel in the second column of my dashboard?

Tags (3)
0 Karma
1 Solution

stephane_cyrill
Builder

Hi Chimell,
to hide a block try to enclose what you want to hide with

  <html>    
       <style type=texte/css>
        id{ display : .........,}
     </style>

 </html>

inside the html tag you define css style to what you want, base on the id you will define for the elements you want to hide.

see this for dynamical way:

i-splunk.blogspot.com/2014/03/toggle-splunk-panels.html?m=1

View solution in original post

jeffland
SplunkTrust
SplunkTrust

If items aren't supposed to appear, you could give them a unique id in XML and set display: none; for that id in your CSS file. But I dont't really see why you would like to have a panel that is not displayed... you could simply delete it?

stephane_cyrill
Builder

Hi Chimell,
to hide a block try to enclose what you want to hide with

  <html>    
       <style type=texte/css>
        id{ display : .........,}
     </style>

 </html>

inside the html tag you define css style to what you want, base on the id you will define for the elements you want to hide.

see this for dynamical way:

i-splunk.blogspot.com/2014/03/toggle-splunk-panels.html?m=1

Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...