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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...