Dashboards & Visualizations

How to hide search and inpsect links from all panels?

tdoSplunk
Path Finder

Hi,

I created a lot of panels for my dashboards. Now I want to hide the kinks at the bottom of each panel.
This should work like this

<option name="refresh.link.visible">false</option>
 <option name="link.openSearch.visible">false</option>
 <option name="link.openPivot.visible">false</option>
 <option name="link.inspectSearch.visible">false</option>
 <option name="link.exportResults.visible">false</option>

Is there a way to implement it for all panels without adding it via simple xml. Perhaps in a conf or something similar?

Hope you can help me.

Best regards

Thomas

Tags (2)
1 Solution

efavreau
Motivator

@tdoSplunk This can be accomplished by adding an html panel to your dashboard to add custom css.
Here's a run anywhere panel that you can add to your dashboard's simple xml. Once added, make sure your browser isn't caching the previous result when you load it:

  <row depends="$alwaysHideCSSPanel$">
    <panel>
      <html>
         <style>
          /* HIDE ALL MENU KINKS */
          .view-mode .dashboard-element .element-footer .menus {
          display: none !important;
          }
         /* HIDE PANEL FOOTER LINE */
          .view-mode .element-footer {
          display: none !important;
          }
         </style>
       </html>
    </panel>
  </row>
###

If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

sheamus69
Communicator
0 Karma

efavreau
Motivator

@tdoSplunk This can be accomplished by adding an html panel to your dashboard to add custom css.
Here's a run anywhere panel that you can add to your dashboard's simple xml. Once added, make sure your browser isn't caching the previous result when you load it:

  <row depends="$alwaysHideCSSPanel$">
    <panel>
      <html>
         <style>
          /* HIDE ALL MENU KINKS */
          .view-mode .dashboard-element .element-footer .menus {
          display: none !important;
          }
         /* HIDE PANEL FOOTER LINE */
          .view-mode .element-footer {
          display: none !important;
          }
         </style>
       </html>
    </panel>
  </row>
###

If this reply helps you, an upvote would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...