<?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 get a specific country,state geoip results and ignore everything else in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-specific-country-state-geoip-results-and-ignore/m-p/135297#M36991</link>
    <description>&lt;P&gt;Got it sorted.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="x.x.x.x"| iplocation c_ip |search Country=Country Name AND Region!=""|timechart span=1h count by Region
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 27 Nov 2014 04:16:09 GMT</pubDate>
    <dc:creator>nishan_perera</dc:creator>
    <dc:date>2014-11-27T04:16:09Z</dc:date>
    <item>
      <title>How to get a specific country,state geoip results and ignore everything else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-specific-country-state-geoip-results-and-ignore/m-p/135296#M36990</link>
      <description>&lt;P&gt;Hi im running the following  query, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="x.x.x.x" XXXXXX | iplocation c_ip |geostats count by City
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to get state by state for a specific country and ignore everthing else. I'm able to do this this &lt;STRONG&gt;eval Region="xx"&lt;/STRONG&gt;, but since i have around 10 states in the country it dosent work. It only works if only one eval is there.&lt;/P&gt;

&lt;P&gt;what i want ot get is something like below&lt;BR /&gt;
e.g:  Country       Region&lt;BR /&gt;
        &lt;EM&gt;CountryName           region1&lt;BR /&gt;
                                           region2&lt;BR /&gt;
                                            region3&lt;BR /&gt;
                                            region4&lt;BR /&gt;
                                              region5&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 00:43:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-specific-country-state-geoip-results-and-ignore/m-p/135296#M36990</guid>
      <dc:creator>nishan_perera</dc:creator>
      <dc:date>2014-11-27T00:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a specific country,state geoip results and ignore everything else</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-specific-country-state-geoip-results-and-ignore/m-p/135297#M36991</link>
      <description>&lt;P&gt;Got it sorted.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="x.x.x.x"| iplocation c_ip |search Country=Country Name AND Region!=""|timechart span=1h count by Region
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Nov 2014 04:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-specific-country-state-geoip-results-and-ignore/m-p/135297#M36991</guid>
      <dc:creator>nishan_perera</dc:creator>
      <dc:date>2014-11-27T04:16:09Z</dc:date>
    </item>
  </channel>
</rss>

