Splunk Search

How do you multiply a field value by the value's count?

ryan_t_gavin
New Member

For example, I have the field "received_files" with 3 values: 1, 2, and 3.

I already ran "convert num(received_files)" as the values are always numerical values. I want to take those 3 numbers (1, 2, and 3) and multiply them by their count. Afterwards, I want to add them all up (sum).

How do I do this?

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...