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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...