Security

How to see users logging in from more than one country?

LANGLEYJ
New Member

I would like to only show users loging into multiple countrys. How would i manipulate this search to do that?

index="index" "Login succeeded for" | iplocation sip | stats count(sip) AS ipCount by ssl_vpn_user_name, sip, _time, Country, City | where ipCount >=1 | table _time, ssl_vpn_user_name, sip, Country, City | dedup sip

I get a similar table:

time ssl_vpn_user_name sip country city
time user1 ip Country City
time user2 ip Country City
time user3 ip Country City
time user3 DIFip DIFCountry DIFCITY

Labels (1)
Tags (2)
0 Karma
1 Solution

pradeepkumarg
Influencer

append this to your search

| eventstats dc(country) as COUNT by ssl_vpn_user_name | where COUNT > 1

View solution in original post

LordIssam
Engager

Nice! thx

0 Karma

pradeepkumarg
Influencer

append this to your search

| eventstats dc(country) as COUNT by ssl_vpn_user_name | where COUNT > 1

LANGLEYJ
New Member

Perfect! Thank you very much!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...