How To Hide Error Message Icon From Splunk Dashboard Panels

How To Hide Error Message Icon From Splunk Dashboard Panels

Hi Guys !!

Hope you are enjoying these blog posts. Today we have come with a new and interesting tricks of Splunk. Everyone has seen that when we are creating any dashboard in our systems, we got the information of our data. But if you notice carefully sometimes we got an error message icon in top right corner of each and every panel into the dashboard. This error message icon comes because of the some error happens in our environment ( like dns_data lookup definition file is not present in the splunk, Unable to distribute to peer named 10.142.0.5:8889 at uri=10.142.0.5:8889 using the uri-scheme=https because peer has status=2. Verify uri-scheme, connectivity to the search peer, that the search peer is up, and that an adequate level of system resources are available. See the Troubleshooting Manual for more information). It will be little bit confusing to the end users who are using that dashboard. Because they are not bother about the error messages of Splunk. So we will show you how to hide this error message icon from the panels in the Splunk dashboards.

em1

See we have created a dashboard and we are getting error message icon into the each and every panel in this dashboard. You have to modify the source code of this dashboard. Follow the below steps to hide this error message icon from the dashboard panels.

Step 1:
You can find the Edit option on the top right corner of the dashboard. Click on Edit button.

em2

Step 2 :
Now you can see the Source option on the top left corner of the dashboard. Click on Source button.

em3

Step 3:
You have to add one row into Source code of this dashboard. After adding the row click on Save to save the changes.em4

em5
See here we have added one row. We have used depends option to hide this row from the dashboard. Inside the row tag we have used a panel tag and there we have written a HTML code. In the html tag we have written inline CSS to hide the error message icon from the each and every panel of the dashboard.

Step 4:

em6

See the MAGIC……
Error message icons have been vanished from the panels.

Hope this has helped you in achieving the below requirement without fail !!
How To Hide Error Message Icon From Splunk Dashboard Panels

Happy Splunking !!

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.