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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

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