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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...