<?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: iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/ in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483746#M135435</link>
    <description>&lt;P&gt;Just to apprise &lt;CODE&gt;iplocation&lt;/CODE&gt; command will not work with the internal/intranet environment (unless you have not specified your internal IP geo-location explicitly in Splunk.&lt;/P&gt;

&lt;P&gt;Try with external/internet address/host&lt;/P&gt;

&lt;P&gt;Example &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval src_ip="8.8.8.8"
| iplocation src_ip prefix=srcip_
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 27 Feb 2020 16:26:18 GMT</pubDate>
    <dc:creator>sumanssah</dc:creator>
    <dc:date>2020-02-27T16:26:18Z</dc:date>
    <item>
      <title>iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483744#M135433</link>
      <description>&lt;P&gt;Hello Eveyone,&lt;BR /&gt;
I am trying to use iplocation command to search for ip address info within my network. My search is as below:&lt;BR /&gt;
eventtype=wineventlog_security&lt;BR /&gt;
| iplocation src_ip prefix=srcip_&lt;BR /&gt;
| table src_ip, City, Country&lt;/P&gt;

&lt;P&gt;I am getting the IP list with other columns blank. I did some research and found iplocation.py is not present in the above directory. I do have GeoLite2-City.mmdb and iso3166 files in "$SPLUNK_HOME/share/" directory. I am wondering if the missing .py file is the reason for my issue. If so, how can I resolve it?&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated. Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:25:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483744#M135433</guid>
      <dc:creator>rahulkumarfgf</dc:creator>
      <dc:date>2020-09-30T04:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483745#M135434</link>
      <description>&lt;P&gt;Update: I was on version 8.0.1 and upgraded it to 8.0.2, however, still can't find iplocation.py file.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:21:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483745#M135434</guid>
      <dc:creator>rahulkumarfgf</dc:creator>
      <dc:date>2020-02-27T16:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483746#M135435</link>
      <description>&lt;P&gt;Just to apprise &lt;CODE&gt;iplocation&lt;/CODE&gt; command will not work with the internal/intranet environment (unless you have not specified your internal IP geo-location explicitly in Splunk.&lt;/P&gt;

&lt;P&gt;Try with external/internet address/host&lt;/P&gt;

&lt;P&gt;Example &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval src_ip="8.8.8.8"
| iplocation src_ip prefix=srcip_
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:26:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483746#M135435</guid>
      <dc:creator>sumanssah</dc:creator>
      <dc:date>2020-02-27T16:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483747#M135436</link>
      <description>&lt;P&gt;Thank you @sumanssah !&lt;/P&gt;

&lt;P&gt;That helped. Will try and add the IP's and check if that works. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483747#M135436</guid>
      <dc:creator>rahulkumarfgf</dc:creator>
      <dc:date>2020-02-27T16:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483748#M135437</link>
      <description>&lt;P&gt;you're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483748#M135437</guid>
      <dc:creator>sumanssah</dc:creator>
      <dc:date>2020-02-27T16:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: iplocation.py file missing from $SPLUNK_HOME/etc/apps/search/bin/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483749#M135438</link>
      <description>&lt;P&gt;I would like to know if iplocation.py file has been deprecated with the newer version since I was looking at this link &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/37249/specifying-field-w-iplocation.html"&gt;https://answers.splunk.com/answers/37249/specifying-field-w-iplocation.html&lt;/A&gt; &lt;BR /&gt;
and thought it would be helpful to look at the code and make some changes as per requirement. However, I am not able to find the file.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:42:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/iplocation-py-file-missing-from-SPLUNK-HOME-etc-apps-search-bin/m-p/483749#M135438</guid>
      <dc:creator>rahulkumarfgf</dc:creator>
      <dc:date>2020-02-27T16:42:58Z</dc:date>
    </item>
  </channel>
</rss>

