Dashboards & Visualizations

Hide Error Message on a Dashboard

nathanluke86
Communicator

Hello Splunkers,

I am getting the following Error message which might be the result of to many concurrent searches.

Configuration initialization for C:\Program Files\Splunk\etc took longer than expected (1500ms) when dispatching a search with search ID

I am trying to just hide these messages as they alter the format of the dashboard as shown below:
alt text

The format should be displayed like the left panel and is altered when the error message appears like on the right panel which is really annoying.

I have managed to hide the warning icon with html but the banner which the error warning appears on is still causing an issue even though the popup banner is now empty.

How can I stop this banner appearing and altering the dashboard.

TIA

0 Karma

jarizeloyola
Path Finder

@nathanluke86
Have your try this ?

<row depends="$hidden$">
         <panel>
           <html>
              <style>
                .dashboard-row .dashboard-panel .error-details .error-indicator {
                 display: none; !important;
                }
              </style>
            </html>
         </panel>
       </row>
0 Karma

mblietz
Explorer

i think you can use some custom css for this Dashboard and set the error message element with something like this
visibility: hidden;

0 Karma

nathanluke86
Communicator

Thanks @mblietz

So far I have:

 <style>
        .dashboard-master{
             background-color:blue !important;
         }
        .dashboard-row .dashboard-panel{
             background-color:transparent !important;
         } .dashboard-row .dashboard-panel { border: 3px solid white;

}.dashboard-row .dashboard-panel .error-details .error-indicator {
display: none; !important;

This only removes the warning icon from the popup banner and doesn't actually prevent the banner from popping up.

I am unsure how to write this within the xml.

Help would be greatly appreciated.

Thanks

0 Karma

mblietz
Explorer

I think the error message is in an additional element. I need the html code to find the right element. I have no example in my Splunk instances. So i cannot test it.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...