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!

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...