All Apps and Add-ons

How do I find a unique combination of IP address and User Agent while weeding out duplicates?

Scottindc
Explorer

I'm trying to find the number of unique IP address and user agent combinations while disregarding duplicates for a given time period. What would this search query look like?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

As a rough thought, create a combined field concatenating IP and UA, then run a stats dc(field).

martin_mueller
SplunkTrust
SplunkTrust

It might, just give it a shot.

0 Karma

Scottindc
Explorer

I'm a bit of a newbie, would this search work?

host="podcast" | eval Uniques = IPAddress.UserAgent | stats dc(Uniques)

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...