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!

Announcing Scheduled Export GA for Dashboard Studio

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

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 GA in US-AWS!

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