Dashboards & Visualizations

Splunk Studio show a message or icon for a Pie chart which returns no data

kmm2
Engager

Splunk Studio show a message or icon for a Pie chart which returns no data:

 

I am looking to display an icon or message if no results are found on a pie chart in place of the grey pie image on a dashboard if no results are found.

Index=test (Eventcode=4010 OR Evnetcode=4011)
| stats latest (eventcode) as latest_event_code by Site
| eval Site= upper(site)
| where latest_event_code=4010

 


  I have been trying appends like the following:

| stats count
|eval NoResult="0"
| Where count=0
| appendpipe [stats count | eval Noresult="0" | eval test="test Message"]

Labels (1)
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...