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
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...