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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...