Splunk Search

Add the column of numbers for the same result

mwadhwa
New Member

I have 2 columns. One of them lists IP address of which many are repeating and the other column is of purchases. The same IP has multiple purchases so I can see multiple entries. Can I club into one total purchase for a particular IP?

Thanks!

0 Karma
1 Solution

Richfez
SplunkTrust
SplunkTrust

I dont' have field names, but it should be some variant of ...

... my search here | stats sum(purchases) AS TotalPurchased by IPAddress

Give that a shot, let us know how it works for you!

Happy Splunking,

Rich

View solution in original post

Richfez
SplunkTrust
SplunkTrust

I dont' have field names, but it should be some variant of ...

... my search here | stats sum(purchases) AS TotalPurchased by IPAddress

Give that a shot, let us know how it works for you!

Happy Splunking,

Rich

Get Updates on the Splunk Community!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...