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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...