Dashboards & Visualizations

How to hide error message icons from dashboard?

SJanasek
Path Finder

hello there

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

thanks

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

poojak2579
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

_gkollias
SplunkTrust
SplunkTrust

Great answer. Thank you!

0 Karma

woodcock
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

harshal_chakran
Builder

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

harshal_chakran
Builder

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

SJanasek
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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...