<?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 Why am I getting lookup search error &amp;quot;[server x] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect&amp;quot;? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-lookup-search-error-quot-server-x-Script-for/m-p/204845#M59517</link>
    <description>&lt;P&gt;We are using Splunk version 6.3 and facing an issue with a lookup table. While running the search, it returns below errors. FYI: we have defined the lookup table on a search head.&lt;/P&gt;

&lt;P&gt;Search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=sample sourcetype=data referer="https://example.com/" | lookup user_agents user_agent | chart count by ua_family
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer 1] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect.
[indexer 2] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
raj&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2016 08:19:44 GMT</pubDate>
    <dc:creator>cdcproject</dc:creator>
    <dc:date>2016-04-18T08:19:44Z</dc:date>
    <item>
      <title>Why am I getting lookup search error "[server x] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-lookup-search-error-quot-server-x-Script-for/m-p/204845#M59517</link>
      <description>&lt;P&gt;We are using Splunk version 6.3 and facing an issue with a lookup table. While running the search, it returns below errors. FYI: we have defined the lookup table on a search head.&lt;/P&gt;

&lt;P&gt;Search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=sample sourcetype=data referer="https://example.com/" | lookup user_agents user_agent | chart count by ua_family
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer 1] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect.
[indexer 2] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
raj&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 08:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-lookup-search-error-quot-server-x-Script-for/m-p/204845#M59517</guid>
      <dc:creator>cdcproject</dc:creator>
      <dc:date>2016-04-18T08:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting lookup search error "[server x] Script for lookup table 'user_agents' returned error code 1. Results may be incorrect"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-lookup-search-error-quot-server-x-Script-for/m-p/204846#M59518</link>
      <description>&lt;P&gt;You should add &lt;CODE&gt;local=true&lt;/CODE&gt; to your lookup command. It indicates that loookup table is defined on searchhead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=sample sourcetype=data referer="https://example.com/" | lookup local=true user_agents user_agent | chart count by ua_family
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2017 12:28:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-lookup-search-error-quot-server-x-Script-for/m-p/204846#M59518</guid>
      <dc:creator>marhuc</dc:creator>
      <dc:date>2017-02-22T12:28:16Z</dc:date>
    </item>
  </channel>
</rss>

