<?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: Problem with Cisco ASA search query (iplocation) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250646#M74906</link>
    <description>&lt;P&gt;I just tested your idea of &lt;CODE&gt;eventtype=cisco-security-events | iplocation src_ip | search Country=* | stats count by Country | sort 20 - count&lt;/CODE&gt; and that seems to work for a drilldown with iplocation without having to do anything more.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 03:17:59 GMT</pubDate>
    <dc:creator>ndoshi</dc:creator>
    <dc:date>2017-04-18T03:17:59Z</dc:date>
    <item>
      <title>Problem with Cisco ASA search query (iplocation)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250642#M74902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a search string that shows the top 20 security related events by country on my Cisco ASA.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=cisco-security-events | iplocation src_ip | stats count by Country | sort 20 - count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It works well and displays the countries and total number of events for whichever time range I've specified.&lt;/P&gt;

&lt;P&gt;However,  when I want to click an individual country (Australia) and view the events, Splunk returns "No Results Found".  Even though there are 8000+ events for Australia&lt;/P&gt;

&lt;P&gt;A manual search also shows no results found:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=cisco-security-events  Country=Australia | iplocation src_ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone please explain why this is happening and kindly offer a solution?&lt;/P&gt;

&lt;P&gt;Thanks Ninjas!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 01:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250642#M74902</guid>
      <dc:creator>madstylex</dc:creator>
      <dc:date>2016-03-17T01:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Cisco ASA search query (iplocation)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250643#M74903</link>
      <description>&lt;P&gt;The problem is likely that the  Country field doesn't exist until the iplocation command creates it.  So for your manual, search, does something like this work?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=cisco-security-events | iplocation src_ip | where Country="Australia"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Mar 2016 02:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250643#M74903</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2016-03-17T02:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Cisco ASA search query (iplocation)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250644#M74904</link>
      <description>&lt;P&gt;That manual search does indeed work.  Any idea on how to view the events by clicking through the results of my top 20 search?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 02:28:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250644#M74904</guid>
      <dc:creator>madstylex</dc:creator>
      <dc:date>2016-03-17T02:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Cisco ASA search query (iplocation)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250645#M74905</link>
      <description>&lt;P&gt;Splunk tries to figure out how to drill down on its own, but doesn't always do a good job.  If this is in a dashboard, Splunk allows you to configure how that works.  I included some links below.  &lt;/P&gt;

&lt;P&gt;But I wonder if you change your base search to something like this, whether Splunk will add the country condition to a later spot in the search when drilling down for you?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; eventtype=cisco-security-events | iplocation src_ip | search Country=* | stats count by Country | sort 20 - count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Viz/Understandbasictableandchartdrilldownactions"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.2/Viz/Understandbasictableandchartdrilldownactions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 13:04:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250645#M74905</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2016-03-17T13:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Cisco ASA search query (iplocation)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250646#M74906</link>
      <description>&lt;P&gt;I just tested your idea of &lt;CODE&gt;eventtype=cisco-security-events | iplocation src_ip | search Country=* | stats count by Country | sort 20 - count&lt;/CODE&gt; and that seems to work for a drilldown with iplocation without having to do anything more.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 03:17:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-Cisco-ASA-search-query-iplocation/m-p/250646#M74906</guid>
      <dc:creator>ndoshi</dc:creator>
      <dc:date>2017-04-18T03:17:59Z</dc:date>
    </item>
  </channel>
</rss>

