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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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