Splunk Search

How to get Total Sum of Error Type Counts per day?

mhamano
Explorer

I'm trying to add a column to the right of OTHER, which sums up the entire row counts of each errorType per day. So for example, the first value in a column farthest to the right would be the total count for api_error + approved + declined + expired_Card etc. for each day.

My current search is gateway=firstdata errorType!=null event=transactionCompleted | timechart count by errorType span="1m"

alt text

0 Karma

somesoni2
Revered Legend

Look at the addtotals command.

My current search is gateway=firstdata errorType!=null event=transactionCompleted | timechart count by errorType span="1m" | addtotals 

http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/Addtotals

Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...