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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

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