<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to filter my search that finds VPN User Session Count by Country to only show users with sessions in multiple countries? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261581#M78513</link>
    <description>&lt;P&gt;Try adding this to the end &lt;CODE&gt;... | where mvcount(Country)&amp;gt;1&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2016 19:29:29 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-05-23T19:29:29Z</dc:date>
    <item>
      <title>How to filter my search that finds VPN User Session Count by Country to only show users with sessions in multiple countries?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261580#M78512</link>
      <description>&lt;P&gt;I have this search which shows the user sessions count by Country for the date range specified.  I am trying to filter only on those users that have sessions in multiple countries.   Any suggestions?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=firewall vpn "Session disconnected" | iplocation IP
| fields user, Country | stats count as EvtCounts by user, Country 
| sort -EvtCounts 
| eval EvtCatCnt = Country." (".EvtCounts.")" 
| stats sum(EvtCounts) as Total_Events, values(EvtCatCnt) as Country by user
| sort -Total_Events 
| eval User_Count = user." (".Total_Events.")" 
| table user, Country 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Current results look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;user         Country
bob           United States (1)
jane          United States (2) 
tarzan        Mexico (14)
              United States (1) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Only want to return results like tarzan.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261580#M78512</guid>
      <dc:creator>pdumblet</dc:creator>
      <dc:date>2016-05-23T19:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter my search that finds VPN User Session Count by Country to only show users with sessions in multiple countries?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261581#M78513</link>
      <description>&lt;P&gt;Try adding this to the end &lt;CODE&gt;... | where mvcount(Country)&amp;gt;1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:29:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261581#M78513</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-23T19:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter my search that finds VPN User Session Count by Country to only show users with sessions in multiple countries?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261582#M78514</link>
      <description>&lt;P&gt;How about the date they logged in from one country to the other?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 09:26:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-my-search-that-finds-VPN-User-Session-Count-by/m-p/261582#M78514</guid>
      <dc:creator>pjohnson1</dc:creator>
      <dc:date>2020-02-03T09:26:42Z</dc:date>
    </item>
  </channel>
</rss>

