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"]