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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...