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!

.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 ...