Splunk Search

Search for users logons from different geo locations

ecanmaster
Explorer

I have build a query so far to look at users who log on from 2 different geo locations,
however

index=microsoft  
| iplocation src_ip 
| stats count dc(Country) as "Geo Location" by user 
| search "Geo Location" > 1

However I cant seem to add more info like src dest action etc.
we cant use value's , so that option not available
is there another way to get all the info?
I do realize that I will get more than 1 ip address , but that is the use case

Tags (1)
0 Karma
1 Solution

starcher
Influencer
 base search
| iplocation prefix=srcgeo_ src 
| eventstats dc(srcgeo_Country) as countryCount by user 
| where countryCount>1

View solution in original post

0 Karma

starcher
Influencer
 base search
| iplocation prefix=srcgeo_ src 
| eventstats dc(srcgeo_Country) as countryCount by user 
| where countryCount>1
0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...