Dashboards & Visualizations

Is it possible to customize the "No result found" and "N/A" message in a single value panel in Splunk 6.3.x?

ektasiwani
Communicator

Hi Splunkers,

I am using Splunk 6.3.x and my requirement is to customize default "No result found" message and "N/A" message of single value element.
I checked similar questions here, but no use.

Is there any way to customize these messages through css or through a Splunk search? I want to show "0" in place of "N/A" for single value element.

Thanks
Ekta

0 Karma

Dawson014
Path Finder

Hi Ekta,

append this to your search -

<your_search>
| stats count as message

This should do the trick, if there are no events then it will show "0" else the event count

iamarkaprabha
Contributor

It helped

0 Karma

meenuvn
Explorer

You can set the default value of the variable which populates single value using eval.
eval res=0| and then your custom conditions

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