Dashboards & Visualizations

Hide Error Message on a Dashboard

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

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

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

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

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
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!