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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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