Splunk Search

How do you setup a pie chart for success / failures?

sunnyt
New Member

Query details:
index=my_app processcreditcheck tmLogging (failure OR success)

Result needed:
][1]

0 Karma

skoelpin
SplunkTrust
SplunkTrust

You should have a field dedicated to success or failure. If you don't have an existing field, you can write a regular expression to capture the "success" and "failure" values. Once you have these values in a field, you can then do something like this

... | stats count by <FIELD_NAME>

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...