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 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...