Splunk Search

how to get the aggregation count of field values?

vrmandadi
Builder

I am looking something like the following result

  • A_Count AGGREGATE TOTAL 20 20 30 50 10 60

I know delta command will give the difference but is there any command which gives the aggregation

0 Karma

vrmandadi
Builder
0 Karma

skoelpin
SplunkTrust
SplunkTrust

You should check out addcoltotals

It will work like this | addcoltotals labelfield=change_name label=ALL

http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/Addcoltotals

0 Karma

vrmandadi
Builder

I know about addcoltotals,but that does not do something like a delta where For each event where field is a number, the delta command computes the difference, in search order, between the field value for the event and the field value for the previous event. The delta command writes this difference into newfield.

In the similar manner instead of difference I am looking for addition of it

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...