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!

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