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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...