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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...