<?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 DNS Resolution Revisited in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125062#M25786</link>
    <description>&lt;P&gt;I previously asked for some help on setting up dns resolution when performing searches and I got some great info and was able to get it all working.  BUT, after a recent change in my Splunk install (the version I was using expired), the dns resolution will not work.&lt;/P&gt;

&lt;P&gt;I have the required lines on my transforms.conf:&lt;BR /&gt;
&lt;STRONG&gt;[dnsLookup]&lt;BR /&gt;
external_cmd = external_lookup.py host ip&lt;BR /&gt;
fields_list = host, ip&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Then in my search I have (where dst is the ip address I want resolved):&lt;BR /&gt;
&lt;STRONG&gt;source="udp:64514" SSH_Connects | lookup dnsLookup dst&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Rather than get the data I require with the dst resolved I get this error:&lt;BR /&gt;
&lt;STRONG&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Can anyone enlighten me on what I'm doing wrong.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:10:06 GMT</pubDate>
    <dc:creator>balcv</dc:creator>
    <dc:date>2020-09-28T15:10:06Z</dc:date>
    <item>
      <title>DNS Resolution Revisited</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125062#M25786</link>
      <description>&lt;P&gt;I previously asked for some help on setting up dns resolution when performing searches and I got some great info and was able to get it all working.  BUT, after a recent change in my Splunk install (the version I was using expired), the dns resolution will not work.&lt;/P&gt;

&lt;P&gt;I have the required lines on my transforms.conf:&lt;BR /&gt;
&lt;STRONG&gt;[dnsLookup]&lt;BR /&gt;
external_cmd = external_lookup.py host ip&lt;BR /&gt;
fields_list = host, ip&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Then in my search I have (where dst is the ip address I want resolved):&lt;BR /&gt;
&lt;STRONG&gt;source="udp:64514" SSH_Connects | lookup dnsLookup dst&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Rather than get the data I require with the dst resolved I get this error:&lt;BR /&gt;
&lt;STRONG&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Can anyone enlighten me on what I'm doing wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:10:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125062#M25786</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2020-09-28T15:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Resolution Revisited</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125063#M25787</link>
      <description>&lt;P&gt;My guess is that your script is not outputting the fields that are expected.  Don't you need to do &lt;CODE&gt;lookup dnsLookup ip as dst&lt;/CODE&gt; to get the ip address passed in with the right name? &lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2013 02:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125063#M25787</guid>
      <dc:creator>usethedata</dc:creator>
      <dc:date>2013-11-01T02:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Resolution Revisited</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125064#M25788</link>
      <description>&lt;P&gt;Thank you.  That was what I needed. Search that now works is and gives resolved name, ip and count:&lt;BR /&gt;
source="udp:64514" SSH_Connects | stats count by dst | lookup dnsLookup ip as dst | sort -count | table host dst count&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2013 03:03:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DNS-Resolution-Revisited/m-p/125064#M25788</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2013-11-01T03:03:52Z</dc:date>
    </item>
  </channel>
</rss>

