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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...