Dashboards & Visualizations
Highlighted

How to hide error message icons from dashboard?

Path Finder

hello there

I want to hide the error icons on my dashboard. Is that possible?
alt text

thanks

Highlighted

Re: How to hide error message icons from dashboard?

Can you share the error message which displays after clicking the icon.
Once this icon showed me lookup error . I added the lookup file (mentioned in error message) in Lookup Definition and it worked.
See if its the same case for you.

0 Karma
Highlighted

Re: How to hide error message icons from dashboard?

Path Finder

the error is
" Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'oraclemonitoring' and lookup table 'Kunden'."
I already did what you mentioned.

0 Karma
Highlighted

Re: How to hide error message icons from dashboard?

Based on these link :
https://answers.splunk.com/answers/111492/error-could-not-find-all-of-the-specified-lookup-fields-in...
https://answers.splunk.com/answers/96118/lookup-error-could-not-find-all-of-the-specified-lookup-fie...

First you need to check that your csv file - "Kunden" is clean and there is no hidden character.
Second, bsed on link 1--try reversing the order of fields in AS. If you have mentioned such in props.conf

0 Karma
Highlighted

Re: How to hide error message icons from dashboard?

Esteemed Legend

I am pretty sure that there is no way to hide them and, IMHO, you should not. They are deliberately placed there to let you, the consumer of the data, know that there is a system problem that could possibly be effecting the accuracy of the data in the panel that you are viewing. This is actually VERY important to know. The right way to handle it is to clear the error so it goes away, not hide it. It is kind of like saying "my wife is sick of my check engine light flashing; how can I disable it other than covering it up with black tape?"

0 Karma
Highlighted

Re: How to hide error message icons from dashboard?

Path Finder

Add this to the Simple XML:

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

As woodcock says, this should be used with caution. I only use it for end-user dashboards where display would be more confusing than not (in my case we're getting a bunch of warnings that the query initialization time is longer than a second because the storage is slow). Power User dashboards still show the errors.

Highlighted

Re: How to hide error message icons from dashboard?

Explorer

Hi @Kenshiro70

Thank you.This code is working fine.
This code hides the error icons for everyone.
But pls let me know if you have any idea if we can hide these icon for basic users only and not for power users.
or if we can differentiate between warning icons and red error icons and hide only warning icons.
Power users wants to see those errors.

0 Karma
Highlighted

Re: How to hide error message icons from dashboard?

SplunkTrust
SplunkTrust

Great answer. Thank you!

0 Karma