<?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: Get top 20 countries from Cisco ASA events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275038#M52757</link>
    <description>&lt;P&gt;Try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype= | iplocation src_ip | stats count by Country|sort 20 - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 08 Feb 2016 09:37:06 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2016-02-08T09:37:06Z</dc:date>
    <item>
      <title>Get top 20 countries from Cisco ASA events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275036#M52755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am searching my Cisco ASA logs to count where an IP originates from by country.&lt;/P&gt;

&lt;P&gt;It looks like this:&lt;/P&gt;

&lt;P&gt;eventtype= | iplocation src_ip | stats count by Country &lt;/P&gt;

&lt;P&gt;It works well to give me a count of all the countries, but I can't get it to give me the top 20 only.  I have tried multiple combinations of the 'top' and 'head'&lt;/P&gt;

&lt;P&gt;I don't want to just choose 20 results per page as I need to generate reports for this.&lt;/P&gt;

&lt;P&gt;Can anyone help me out?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 09:12:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275036#M52755</guid>
      <dc:creator>madstylex</dc:creator>
      <dc:date>2016-02-08T09:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get top 20 countries from Cisco ASA events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275037#M52756</link>
      <description>&lt;P&gt;You can try this instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype= | iplocation src_ip | top limit=20 Country
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Feb 2016 09:33:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275037#M52756</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-02-08T09:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get top 20 countries from Cisco ASA events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275038#M52757</link>
      <description>&lt;P&gt;Try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype= | iplocation src_ip | stats count by Country|sort 20 - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Feb 2016 09:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275038#M52757</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-08T09:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get top 20 countries from Cisco ASA events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275039#M52758</link>
      <description>&lt;P&gt;This worked, thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-top-20-countries-from-Cisco-ASA-events/m-p/275039#M52758</guid>
      <dc:creator>madstylex</dc:creator>
      <dc:date>2016-02-08T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

