<?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 we create a report based on country geoip? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264927#M5146</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Easy, use a lookup to list the countrys that you want to filter and then use the command iplocation with the field that you to identify the ip int he events&lt;/P&gt;

&lt;P&gt;index  sourcetype  .... | iplocation yourfieldip | search [|inputlookup list_country.csv |table Country] | stats count by Country&lt;/P&gt;

&lt;P&gt;Hope i help you&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 08:15:43 GMT</pubDate>
    <dc:creator>jmallorquin</dc:creator>
    <dc:date>2016-12-07T08:15:43Z</dc:date>
    <item>
      <title>How can we create a report based on country geoip?</title>
      <link>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264926#M5145</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have to create a report where in if any IPs from the below countries hit our network, I should be able to see it.&lt;/P&gt;

&lt;P&gt;• Iran&lt;BR /&gt;
• Syria&lt;BR /&gt;
• Yemen&lt;BR /&gt;
• Romania&lt;BR /&gt;
• Israel &lt;BR /&gt;
• Russia &lt;BR /&gt;
• China&lt;/P&gt;

&lt;P&gt;Now I would like to know how to do this as I checked the geo ips of all these countries and there are too many. Is there an easier way of doing this? If so, kindly let me know the search string.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Pradeep&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 07:51:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264926#M5145</guid>
      <dc:creator>seetharamanPr</dc:creator>
      <dc:date>2016-12-07T07:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can we create a report based on country geoip?</title>
      <link>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264927#M5146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Easy, use a lookup to list the countrys that you want to filter and then use the command iplocation with the field that you to identify the ip int he events&lt;/P&gt;

&lt;P&gt;index  sourcetype  .... | iplocation yourfieldip | search [|inputlookup list_country.csv |table Country] | stats count by Country&lt;/P&gt;

&lt;P&gt;Hope i help you&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 08:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264927#M5146</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2016-12-07T08:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can we create a report based on country geoip?</title>
      <link>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264928#M5147</link>
      <description>&lt;P&gt;Use geostats command.&lt;/P&gt;

&lt;P&gt;For example if I get latitude and logntitude in my events, it can be plotted on geo map using following query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=main | geostats latfield=notifications{}.geoCoordinate.latitude longfield=notifications{}.geoCoordinate.longitude count by DeviceID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Dec 2016 11:48:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-can-we-create-a-report-based-on-country-geoip/m-p/264928#M5147</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2016-12-07T11:48:59Z</dc:date>
    </item>
  </channel>
</rss>

