<?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: Splunk displays incorrect location on using iplocation in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326739#M97362</link>
    <description>&lt;P&gt;Hi rakes568!&lt;/P&gt;

&lt;P&gt;Which version of Splunk are you using?&lt;/P&gt;

&lt;P&gt;Splunk updates the db used when doing iplocation each release, which can be found in &lt;CODE&gt;$SPLUNK_HOME/share/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I am running 6.6.1 and I am receiving the correct information when comparing to online services you mentioned. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/xa2jUmj.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;My guess is you simply have an older version of Splunk, and thus, an older copy of the db, and seeing how this is Amazon ip space, it is not surprising it may change. &lt;/P&gt;

&lt;P&gt;The good news is, since 6.1 you can update the db manually if you need to!! Check out this blog on the topic!&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2014/07/22/updating-the-iplocation-db.html"&gt;https://www.splunk.com/blog/2014/07/22/updating-the-iplocation-db.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jun 2017 14:08:21 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2017-06-04T14:08:21Z</dc:date>
    <item>
      <title>Splunk displays incorrect location on using iplocation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326738#M97361</link>
      <description>&lt;P&gt;On using iplocation, Splunk returns incorrect coordinates for an IP, and displays location incorrectly on map with geostats.&lt;BR /&gt;
For IP 52.43.227.70, it returns coordinates 39.56450, -75.59700.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3006i7ABAA58A2EFACBB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Whereas actual coordinates for IP address 52.43.227.70 using infosnipper.net  (or any other online APIs for that matter) are 45.8696, -119.688, and location is in Oregon region.&lt;/P&gt;

&lt;P&gt;Has anyone seen this issue?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 09:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326738#M97361</guid>
      <dc:creator>rakes568</dc:creator>
      <dc:date>2017-06-04T09:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk displays incorrect location on using iplocation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326739#M97362</link>
      <description>&lt;P&gt;Hi rakes568!&lt;/P&gt;

&lt;P&gt;Which version of Splunk are you using?&lt;/P&gt;

&lt;P&gt;Splunk updates the db used when doing iplocation each release, which can be found in &lt;CODE&gt;$SPLUNK_HOME/share/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I am running 6.6.1 and I am receiving the correct information when comparing to online services you mentioned. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/xa2jUmj.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;My guess is you simply have an older version of Splunk, and thus, an older copy of the db, and seeing how this is Amazon ip space, it is not surprising it may change. &lt;/P&gt;

&lt;P&gt;The good news is, since 6.1 you can update the db manually if you need to!! Check out this blog on the topic!&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2014/07/22/updating-the-iplocation-db.html"&gt;https://www.splunk.com/blog/2014/07/22/updating-the-iplocation-db.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 14:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326739#M97362</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-06-04T14:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk displays incorrect location on using iplocation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326740#M97363</link>
      <description>&lt;P&gt;To add some additional specificity ... iplocation services are provided by a variety of vendors who collect their data in their own unique way.  There is no single, universally accurate that "the internet" ties IP addresses to physical locations.  Splunk, for their part, use the Maxmind Geolite2 databases.  ( &lt;A href="https://dev.maxmind.com/geoip/geoip2/geolite2/"&gt;https://dev.maxmind.com/geoip/geoip2/geolite2/&lt;/A&gt; )  Geolite2 is great because it is free.  Geolite2 is terrible because it has a lower update frequency, and lower accuracy overall.  &lt;/P&gt;

&lt;P&gt;As Matty has mentioned, you can update Splunk's Geolite2 databases relatively easily, or you can accept that they will be updated each time you update Splunk itself.&lt;/P&gt;

&lt;P&gt;If iplocation data is very important to you, I would suggest subscribing to Maxmind's Geoip2 database feed service.  These feeds should be available in a format compatible with Splunk, and will be updated more frequently and more accurate overall.  But, it is a separate subscription above and beyond your Splunk purchase.  See &lt;A href="https://www.maxmind.com/en/geoip2-city"&gt;https://www.maxmind.com/en/geoip2-city&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 16:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326740#M97363</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2017-06-04T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk displays incorrect location on using iplocation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326741#M97364</link>
      <description>&lt;P&gt;Thanks. Works perfectly after updating Splunk.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 17:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326741#M97364</guid>
      <dc:creator>rakes568</dc:creator>
      <dc:date>2017-06-04T17:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk displays incorrect location on using iplocation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326742#M97365</link>
      <description>&lt;P&gt;&lt;CODE&gt;+1&lt;/CODE&gt; with the points Duane makes. IMO iplocation is a "grain of salt" data point, but the paid services should allow you to be as accurate as you can be with this kind of data. &lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 19:32:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326742#M97365</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-06-04T19:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk displays incorrect location on using iplocation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326743#M97366</link>
      <description>&lt;P&gt;And example code to automate updating the DB&lt;BR /&gt;
&lt;A href="https://github.com/georgestarcher/TA-geoip"&gt;https://github.com/georgestarcher/TA-geoip&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-displays-incorrect-location-on-using-iplocation/m-p/326743#M97366</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-06-08T13:34:48Z</dc:date>
    </item>
  </channel>
</rss>

