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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...