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!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...