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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...