Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

VPN users (same user login from 2 different locations in a specific time range)

$
0
0
i'm search for vpn users that might login into two different locations in a specific time-range and im getting the following result: index=cisco_acs src="*" AND src!=10.0.*.* | iplocation src | stats count(src_ip) AS ipCount by user, src_ip, _time, Country | where ipCount >=1 | table _time, user, src_ip, Country | rename values(_time) as _time values(src_ip) as src_ip values(Country) as Country | eval _time=strftime(_time, "%Y-%d-%m %H:%M") | stats values(_time) values(src_ip), values(Country), count by user | rename values(_time) as time values(src_ip) as src_ip values(Country) as country ******user _time country*** user1 20/07/2016 united kingdom user2 21/07/2016 germany, usa user3 23/07/2016 India, China user4 25/07/2017 france ....etc my question is how to make the search shows only the results with 2 countries or more and ignore results with 1 country. and with time range between the 2 logins less than 4 hrs. regards

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>