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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...