All Apps and Add-ons
Highlighted

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

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
Highlighted

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

SplunkTrust
SplunkTrust

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

Highlighted

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

Explorer

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

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

0 Karma
Highlighted

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

SplunkTrust
SplunkTrust

It might, just give it a shot.

0 Karma