Splunk Search

How to generate a search that displays column totals per day for each email address?

rholm01
Explorer

How do I get daily totals (column) for a list of e-mail addresses (column) for registration failures?

E-mail Address     Day1    Day2   Day3   Day4   Day5   Day6   Day7   Total-Failures-for-individual
Address1           2       4                                         6
Address2           1       5                                         6
Address3           3              3                    4             10
Total Daily        6       9      3      0      0      4      0                   

replicamask
Explorer

Is there a way to have this without the values in the columns above the totals?
alt,Awesome! Is there a way to remove the values in the columns and just have the totals?
alt

0 Karma

sundareshr
Legend

Try this

base search | eval day=round(relative_time(now(), "@d")-relative_time(,_time, "@d"), 0)/86400 | eval day="Day ".day | chart count over email_id by day | addtotals | addcoltotals labelfield=email_id label="Total Daily"
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 ...