<?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 resolve &amp;quot;Error in 'lookup' command&amp;quot; after configuring a lookup definition in transforms.conf? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221888#M65224</link>
    <description>&lt;P&gt;You're right. I created it in custom app with App permission but used the command at search app. Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2016 03:16:40 GMT</pubDate>
    <dc:creator>diavolo</dc:creator>
    <dc:date>2016-11-09T03:16:40Z</dc:date>
    <item>
      <title>How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221882#M65218</link>
      <description>&lt;P&gt;I configured external lookup definition with a script I built. However, the lookup command fails with the following message.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Error in 'lookup' command: The lookup table '&lt;EM&gt;mylookup&lt;/EM&gt;' does not exist or is not available.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;SPL Command:&lt;BR /&gt;
&lt;CODE&gt;... | lookup mylookup myfield&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/apps/&lt;EM&gt;myapp&lt;/EM&gt;/local/transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mylookup]
external_cmd = get_lookup.py
fields_list =Title,Genre,Country,imdbRating
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I placed get_lookup.py in $SPLUNK_HOME/etc/apps/&lt;EM&gt;myapp&lt;/EM&gt;/bin/.&lt;BR /&gt;
What's wrong with the lookup definition?&lt;/P&gt;

&lt;P&gt;(Splunk Ver: 6.5 / OS: Mac OS X)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:46:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221882#M65218</guid>
      <dc:creator>diavolo</dc:creator>
      <dc:date>2020-09-29T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221883#M65219</link>
      <description>&lt;P&gt;Did you restart Splunk after you placed that file?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 16:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221883#M65219</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2016-11-07T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221884#M65220</link>
      <description>&lt;P&gt;Does Splunk have access to get_lookup.py?  The file perms might be overriding the dir perms.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 21:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221884#M65220</guid>
      <dc:creator>cdoebert</dc:creator>
      <dc:date>2016-11-07T21:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221885#M65221</link>
      <description>&lt;P&gt;Yes, of course I did.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 23:59:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221885#M65221</guid>
      <dc:creator>diavolo</dc:creator>
      <dc:date>2016-11-07T23:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221886#M65222</link>
      <description>&lt;P&gt;Yes, I granted 755 to the py script. The owner is the same as the one who runs splunkd.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 00:05:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221886#M65222</guid>
      <dc:creator>diavolo</dc:creator>
      <dc:date>2016-11-08T00:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221887#M65223</link>
      <description>&lt;P&gt;What is the permission of lookup definition (Private, App only, or Global) and which app did you execute lookup command in?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 00:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221887#M65223</guid>
      <dc:creator>kikeyama</dc:creator>
      <dc:date>2016-11-08T00:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I resolve "Error in 'lookup' command" after configuring a lookup definition in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221888#M65224</link>
      <description>&lt;P&gt;You're right. I created it in custom app with App permission but used the command at search app. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 03:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-quot-Error-in-lookup-command-quot-after/m-p/221888#M65224</guid>
      <dc:creator>diavolo</dc:creator>
      <dc:date>2016-11-09T03:16:40Z</dc:date>
    </item>
  </channel>
</rss>

