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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...