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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...