Splunk Dev

Hide messages in dashboard which use javascript

psriyanka
Explorer

I am getting a warning message in some of our dashboardsin splunk for a application, which we tried hiding using CSS. But it seems the .js file used in the dashboard (or something else) is overriding it and it is not being hidden.

Can someone help me with this

Labels (1)
0 Karma

vnravikumar
Champion

If possible, can you please attach the image and also splunk version.

0 Karma

psriyanka
Explorer

I am not able to attach the message so pasted below from my dashboard:

Message:Some panels may not be displayed correctly because the following inputs have not been configured: CloudWatch, Config, Description.
Or, the saved search "Addon Metadata - Summarize AWS Inputs" is not enabled on Add-on instance. Learn more
Hide Messages

Splunk Version 7.3.1

I had tried commenting the code but after reloading the page, the changes are being undone by the script.

Code :

<panel>
  <html>
    <style>
        .dashboard-row .dashboard-panel .error-details .error-indicator {
        display: none; !important;
        }
    </style>
  </html>
</panel>


<panel>
  <html>
 <style>
   a.hide-global-filters {
     display: none !important;
   }
 </style>

</panel>
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...