<?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: Is it possible to automatically run iplocation on a client ip for a given sourcetype? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314700#M58926</link>
    <description>&lt;P&gt;You would have to first convert/port the existing &lt;CODE&gt;iplocation.py&lt;/CODE&gt; command into a &lt;CODE&gt;scripted lookup&lt;/CODE&gt; and then make that an &lt;CODE&gt;automatic lookup&lt;/CODE&gt;.  Start here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Knowledge/Configureexternallookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.2/Knowledge/Configureexternallookups&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 14:57:56 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-02-23T14:57:56Z</dc:date>
    <item>
      <title>Is it possible to automatically run iplocation on a client ip for a given sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314699#M58925</link>
      <description>&lt;P&gt;I want to run &lt;CODE&gt;iplocation client_ip&lt;/CODE&gt; for a given sourcetype automatically.  For example if i run &lt;BR /&gt;
I dont want to run the command iplocation.&lt;/P&gt;

&lt;P&gt;I would like to automatically look it up for this sourcetype.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
index= sourcetype=authentication-logs &lt;BR /&gt;
| iplocation client_ip&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Does anyone know how I can achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 17:48:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314699#M58925</guid>
      <dc:creator>theeansible</dc:creator>
      <dc:date>2017-02-22T17:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to automatically run iplocation on a client ip for a given sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314700#M58926</link>
      <description>&lt;P&gt;You would have to first convert/port the existing &lt;CODE&gt;iplocation.py&lt;/CODE&gt; command into a &lt;CODE&gt;scripted lookup&lt;/CODE&gt; and then make that an &lt;CODE&gt;automatic lookup&lt;/CODE&gt;.  Start here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Knowledge/Configureexternallookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.2/Knowledge/Configureexternallookups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314700#M58926</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-23T14:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to automatically run iplocation on a client ip for a given sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314701#M58927</link>
      <description>&lt;P&gt;@theeansible - Did the answer provided by woodcock help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 02:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-automatically-run-iplocation-on-a-client-ip/m-p/314701#M58927</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-04-21T02:48:58Z</dc:date>
    </item>
  </channel>
</rss>

