Splunk Search

How to replace the "No Data Found" message with the custom message in the dashboard panel when the query in dashboard is not returning any results.

radhika_paliset
New Member
 
Tags (1)
0 Karma

masonmorales
Influencer

Here's an example of how to do it for a table panel using the appendpipe command:

index=x sourcetype=y | appendpipe [stats count | eval fieldA=if(count=0, "No data found in Splunk",  fieldA) | eval  fieldB=if(count=0, "No data found in Splunk", fieldB) | eval fieldC=if(count=0, "No data found in Splunk", fieldC)] | stats count by fieldA, fieldB, fieldC
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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