<?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: Do I have to explicitly define each field that can be used by an external lookup in transforms.conf? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-explicitly-define-each-field-that-can-be-used-by-an/m-p/229082#M67836</link>
    <description>&lt;P&gt;Since it doesn't look like you can get around this, I ended up making a custom command instead: &lt;A href="https://answers.splunk.com/answers/398976/can-someone-give-me-an-incredibly-simple-custom-st.html"&gt;https://answers.splunk.com/answers/398976/can-someone-give-me-an-incredibly-simple-custom-st.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2016 22:59:38 GMT</pubDate>
    <dc:creator>thisissplunk</dc:creator>
    <dc:date>2016-05-03T22:59:38Z</dc:date>
    <item>
      <title>Do I have to explicitly define each field that can be used by an external lookup in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-explicitly-define-each-field-that-can-be-used-by-an/m-p/229081#M67835</link>
      <description>&lt;P&gt;I've made an external lookup python script that calculates the entropy of a field's value using the first block of code from this answer: &lt;A href="https://answers.splunk.com/answers/13636/calculate-entropy-just-entropy-not-change-in-entropy-like-associate.html"&gt;https://answers.splunk.com/answers/13636/calculate-entropy-just-entropy-not-change-in-entropy-like-associate.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;That works. Now I'm implementing it in transforms as seen here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/Knowledge/Configureexternallookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/Knowledge/Configureexternallookups&lt;/A&gt;&lt;BR /&gt;
Or more specifically:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;lookup_name&amp;gt;]: The name of the lookup.

external_cmd = &amp;lt;string&amp;gt;: The command and arguments that the Splunk platform should invoke to perform the lookup. The Splunk platform expects the command to be the name of the script, such as external_lookup.py.

external_type = [python|executable|kvstore|geo]: The type of script being used for the lookup. Can be python, for a Python script, or executable, for a binary executable. The kvstore and geo values are reserved for KV store lookups and geospatial lookups, respectively.

fields_list = &amp;lt;string&amp;gt;: is a list of all fields that are supported by the external lookup. The fields must be delimited by a comma followed by a space.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;BR /&gt;
See &lt;EM&gt;fields_list&lt;/EM&gt; above. I &lt;STRONG&gt;don't&lt;/STRONG&gt; want to limit this lookup to any fields right now (this will &lt;STRONG&gt;not&lt;/STRONG&gt; be an automatic lookup). Can I simply not add that line so that the external lookup command will work on any field I send to it?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 19:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-explicitly-define-each-field-that-can-be-used-by-an/m-p/229081#M67835</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2016-05-02T19:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have to explicitly define each field that can be used by an external lookup in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-explicitly-define-each-field-that-can-be-used-by-an/m-p/229082#M67836</link>
      <description>&lt;P&gt;Since it doesn't look like you can get around this, I ended up making a custom command instead: &lt;A href="https://answers.splunk.com/answers/398976/can-someone-give-me-an-incredibly-simple-custom-st.html"&gt;https://answers.splunk.com/answers/398976/can-someone-give-me-an-incredibly-simple-custom-st.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 22:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Do-I-have-to-explicitly-define-each-field-that-can-be-used-by-an/m-p/229082#M67836</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2016-05-03T22:59:38Z</dc:date>
    </item>
  </channel>
</rss>

