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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...