<?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 resolve IP to external hostname and list it in a field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247819#M73938</link>
    <description>&lt;P&gt;Good to know. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 13:40:29 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-05-13T13:40:29Z</dc:date>
    <item>
      <title>How to resolve IP to external hostname and list it in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247815#M73934</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I've been reading a lot of posts here, but I seem to be missing something because I'm not understanding.&lt;/P&gt;

&lt;P&gt;Search Rule&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ACCEPT |  lookup dnslookup clientip AS src_ip OUTPUT clienthost as Hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;5/13/16
2:37:03.000 PM  
2 698177307011 eni-8eceafeb 54.187.193.193 172.31.8.32 443 50656 6 8 3684 1463114223 1463114226 ACCEPT OK
dest_ip = 172.31.8.32 host = ip-10-20-6-215 src_ip = 54.187.193.193
5/13/16
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm not getting any new field called "hostname" and it certainly isn't populating with a resolved DNS.&lt;/P&gt;

&lt;P&gt;What am I missing? I want to see all the resolved IP's hostnames in a field populated.&lt;/P&gt;

&lt;P&gt;Any assistance appreciated. &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 04:50:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247815#M73934</guid>
      <dc:creator>chrisprangnell</dc:creator>
      <dc:date>2016-05-13T04:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve IP to external hostname and list it in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247816#M73935</link>
      <description>&lt;P&gt;Please go to settings -&amp;gt; lookups -&amp;gt; lookup definitions and see if you have a lookup named "dnslookup"  &lt;/P&gt;

&lt;P&gt;If it is there, make sure it is enabled and shared with the desired permissions.&lt;/P&gt;

&lt;P&gt;Then, make sure the splunk server that is executing the lookup has proper DNS servers setup.&lt;/P&gt;

&lt;P&gt;Finally check "index=_internal  log_level=warn* OR log_level=err*" and "index=_internal external_lookup.py" for any errors, and let us know what you find.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247816#M73935</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T09:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve IP to external hostname and list it in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247817#M73936</link>
      <description>&lt;P&gt;In addition, insure dnslookup definition is mapped to the right .csv file. Also remember  the field names (in &amp;amp; out) are  case-sensitive. Its probably just a typo, but you have Hostname with upper &amp;amp; lower "h" in your question.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 11:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247817#M73936</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-13T11:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve IP to external hostname and list it in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247818#M73937</link>
      <description>&lt;P&gt;@sundareshr, the dnslookup lookup is an external lookup that uses a python script.  If the op doesnt have it, then it's probably due to their version of splunk.  It was news to me as well, but I do have this lookup in splunk 6.4 on my local machine.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 11:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247818#M73937</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-13T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve IP to external hostname and list it in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247819#M73938</link>
      <description>&lt;P&gt;Good to know. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 13:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-resolve-IP-to-external-hostname-and-list-it-in-a-field/m-p/247819#M73938</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-13T13:40:29Z</dc:date>
    </item>
  </channel>
</rss>

