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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

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