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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...