<?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 do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210244#M41403</link>
    <description>&lt;P&gt;Here is the breakdown: &lt;A href="https://answers.splunk.com/answers/8051/dns-lookup-via-splunk.html"&gt;https://answers.splunk.com/answers/8051/dns-lookup-via-splunk.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;reminder: please search first, before creating a duplicate question.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2015 21:47:41 GMT</pubDate>
    <dc:creator>mreynov_splunk</dc:creator>
    <dc:date>2015-10-30T21:47:41Z</dc:date>
    <item>
      <title>How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210242#M41401</link>
      <description>&lt;P&gt;I'm trying to do a reverse DNS lookup on a field in Splunk called &lt;STRONG&gt;client_ip&lt;/STRONG&gt;. I'm running Splunk version 6.2.4. I've added details to my transforms.conf file and my props.conf file, both below. &lt;/P&gt;

&lt;P&gt;transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dnsLookup]
external_cmd = external_lookup.py host ip
fields_list = host, ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined]
LOOKUP-rdns = dnsLookup ip AS clientip OUTPUTNEW host AS hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do I need to add &lt;STRONG&gt;client_ip&lt;/STRONG&gt; to the fields_list and then change the props.conf file also? &lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210242#M41401</guid>
      <dc:creator>justin0104</dc:creator>
      <dc:date>2015-10-30T15:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210243#M41402</link>
      <description>&lt;P&gt;You do not need to add the stuff in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;; you can exploit the ones that are already there simply by adding this to your &lt;CODE&gt;props.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LOOKUP-rdns = dnslookup clientip AS host OUTPUTNEW clienthost AS hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this search works, then the above solution should to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup dnslookup clientip AS host OUTPUTNEW clienthost AS hostname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Oct 2015 17:46:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210243#M41402</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-30T17:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210244#M41403</link>
      <description>&lt;P&gt;Here is the breakdown: &lt;A href="https://answers.splunk.com/answers/8051/dns-lookup-via-splunk.html"&gt;https://answers.splunk.com/answers/8051/dns-lookup-via-splunk.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;reminder: please search first, before creating a duplicate question.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 21:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210244#M41403</guid>
      <dc:creator>mreynov_splunk</dc:creator>
      <dc:date>2015-10-30T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210245#M41404</link>
      <description>&lt;P&gt;Mreynov, The link you provided is where I first got the information to edit my props.conf and transforms.conf files with the details I listed above. &lt;/P&gt;

&lt;P&gt;Keep in mind that the field i'm trying to do the reverse lookup on is called "client_ip" so does that matter at all? Here is my full search... &lt;/P&gt;

&lt;P&gt;sourcetype="F5:iRule:WebAccess" NOT &lt;EM&gt;uat.&lt;/EM&gt; cipher=TLSv1 | stats dc(client_ip) as distinctCount values(client_ip) | where distinctCount&amp;gt;1 | lookup dnsLookup ip AS clientip OUTPUTNEW host AS hostname&lt;/P&gt;

&lt;P&gt;So far this search only shows me the distinct IPs (as it should) but it doesn't resolve those IPs. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210245#M41404</guid>
      <dc:creator>justin0104</dc:creator>
      <dc:date>2020-09-29T07:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210246#M41405</link>
      <description>&lt;P&gt;of course the field name mattes. &lt;/P&gt;

&lt;P&gt;try&lt;BR /&gt;
sourcetype="F5:iRule:WebAccess" NOT uat. cipher=TLSv1 | stats dc(client_ip) as distinctCount values(client_ip) | where distinctCount&amp;gt;1 | lookup dnsLookup ip AS client_ip OUTPUTNEW host AS hostname&lt;/P&gt;

&lt;P&gt;(hopefully hostname is a field that exists for you)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210246#M41405</guid>
      <dc:creator>mreynov_splunk</dc:creator>
      <dc:date>2020-09-29T07:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210247#M41406</link>
      <description>&lt;P&gt;Tried your search and that didn't work. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 05:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210247#M41406</guid>
      <dc:creator>justin0104</dc:creator>
      <dc:date>2015-11-03T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210248#M41407</link>
      <description>&lt;P&gt;Also, I don't have a hostname field. The only fields I have in my stats view are distinct view and client_ip. &lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 05:26:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210248#M41407</guid>
      <dc:creator>justin0104</dc:creator>
      <dc:date>2015-11-03T05:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210249#M41408</link>
      <description>&lt;P&gt;Have you tried this search (and answer)?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 14:09:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210249#M41408</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-03T14:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210250#M41409</link>
      <description>&lt;P&gt;Below is the only line in my props.conf file and when i do the search it still won't perform the lookup. Also, i get errors now on any search that i do. &lt;/P&gt;

&lt;P&gt;Error 'Could not find all of the specified lookup fields in the lookup table.' for conf '(?i)source::....zip(.\d+)?' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'ActiveDirectory' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'Cisco:ISE:Syslog' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'F5:AFM:Syslog' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'F5:LTM:Access' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'F5:LTM:DCFW' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'F5:LTM:Syslog' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'F5:iRule:WebAccess' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'F5_SPLUNK_iRULE' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'PerformanceMonitor' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'Splunk_TA_cisco-ise-too_small' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'Splunk_TA_f5_bigip_main.log' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'Splunk_TA_f5_bigip_main.log-too_small' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'WinNetMonMk' and lookup table 'dnsLookup'.&lt;BR /&gt;
Error 'Could not find all of the specified lookup fields in the lookup table.' for conf 'WinPrintMon' and lookup table 'dnsLookup'.&lt;/P&gt;

&lt;P&gt;==============================&lt;BR /&gt;
props.conf &lt;BR /&gt;
LOOKUP-rdns = dnsLookup clientip AS host OUTPUTNEW clienthost AS hostname&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210250#M41409</guid>
      <dc:creator>justin0104</dc:creator>
      <dc:date>2020-09-29T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210251#M41410</link>
      <description>&lt;P&gt;then try this &lt;BR /&gt;
sourcetype="F5:iRule:WebAccess" NOT uat. cipher=TLSv1 | stats dc(client_ip) as distinctCount values(client_ip) | where distinctCount&amp;gt;1 | lookup dnsLookup ip AS client_ip OUTPUTNEW hostname&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210251#M41410</guid>
      <dc:creator>mreynov_splunk</dc:creator>
      <dc:date>2020-09-29T07:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I edit my props.conf and transforms.conf to do a reverse DNS Lookup on a certain field?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210252#M41411</link>
      <description>&lt;P&gt;if you have this entry in props, Splunk expects a lookup definition in transforms, something like this:&lt;/P&gt;

&lt;P&gt;[dnsLookup]&lt;BR /&gt;
filename = &amp;lt;&amp;gt;.csv&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 23:36:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-edit-my-props-conf-and-transforms-conf-to-do-a-reverse/m-p/210252#M41411</guid>
      <dc:creator>mreynov_splunk</dc:creator>
      <dc:date>2015-11-03T23:36:04Z</dc:date>
    </item>
  </channel>
</rss>

