<?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 can I adjust the query to include total connections that are initiated out of the country? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639978#M16039</link>
    <description>&lt;P&gt;&lt;SPAN&gt;index=company_logs "Client Type: Cisco AnyConnect VPN Agent"&lt;BR /&gt;| stats count src Cisco_ASA_user&lt;BR /&gt;| iplocation src&lt;BR /&gt;&lt;/SPAN&gt;| search NOT Country="United States"&lt;BR /&gt;| stats sum(count) AS count dc(src) AS dc_src BY Country user&lt;BR /&gt;| stats list(*) AS * BY user&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 18:13:11 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2023-04-14T18:13:11Z</dc:date>
    <item>
      <title>How can I adjust the query to include total connections that are initiated out of the country?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639817#M16021</link>
      <description>&lt;P&gt;Good Morning,&lt;BR /&gt;&lt;BR /&gt;I have a query that I'd like to refine. I'm new to Splunk.&lt;BR /&gt;&lt;BR /&gt;So the current query that I'm running is used to identify when people outside of the country connect to our VPN.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;index=company_logs "Client Type: Cisco AnyConnect VPN Agent" | iplocation src | stats dc(src) by Country&lt;BR /&gt;&lt;BR /&gt;So this works fine for giving us a tally as to how many total connections are initiated out of the country.&lt;BR /&gt;&lt;BR /&gt;I'd like to get more granular and have a breakdown by username. This is the field that contains the username:&amp;nbsp;Cisco_ASA_user.&lt;BR /&gt;&lt;BR /&gt;How can I adjust the query to include that data?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 16:36:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639817#M16021</guid>
      <dc:creator>Network506</dc:creator>
      <dc:date>2023-04-13T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with Query Involving Countries</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639822#M16022</link>
      <description>&lt;P&gt;There's a few ways to break it down by users. You can try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=company_logs "Client Type: Cisco AnyConnect VPN Agent" 
| iplocation src 
| stats dc(src) BY Country Cisco_ASA_user

index=company_logs "Client Type: Cisco AnyConnect VPN Agent" 
| iplocation src 
| chart dc(src) BY Cisco_ASA_user Country 

index=company_logs "Client Type: Cisco AnyConnect VPN Agent" 
| iplocation src 
| stats dc(src) values(Cisco_ASA_user) AS Cisco_ASA_user BY Country &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 15:24:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639822#M16022</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2023-04-13T15:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I adjust the query to include total connections that are initiated out of the country?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639844#M16025</link>
      <description>&lt;P&gt;Thanks. The first query works great. May I ask another question? How would I modify it to exclude the USA in the results?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 17:33:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639844#M16025</guid>
      <dc:creator>Network506</dc:creator>
      <dc:date>2023-04-13T17:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I adjust the query to include total connections that are initiated out of the country?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639847#M16026</link>
      <description>&lt;P&gt;Add this after the ip location line:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search NOT Country="United States"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;If want to exclude a list of Countries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search NOT Country IN ("United States", "United Kingdom", "France")&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Apr 2023 17:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639847#M16026</guid>
      <dc:creator>johnhuang</dc:creator>
      <dc:date>2023-04-13T17:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I adjust the query to include total connections that are initiated out of the country?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639978#M16039</link>
      <description>&lt;P&gt;&lt;SPAN&gt;index=company_logs "Client Type: Cisco AnyConnect VPN Agent"&lt;BR /&gt;| stats count src Cisco_ASA_user&lt;BR /&gt;| iplocation src&lt;BR /&gt;&lt;/SPAN&gt;| search NOT Country="United States"&lt;BR /&gt;| stats sum(count) AS count dc(src) AS dc_src BY Country user&lt;BR /&gt;| stats list(*) AS * BY user&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 18:13:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-can-I-adjust-the-query-to-include-total-connections-that-are/m-p/639978#M16039</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-14T18:13:11Z</dc:date>
    </item>
  </channel>
</rss>

