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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...