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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...