<?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: Why do lookup searches fail with &amp;quot;The lookup table does not exist or is not available&amp;quot; error? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372690#M109599</link>
    <description>&lt;P&gt;Here you are. Hostname and index name removed for privacy.&lt;/P&gt;

&lt;P&gt;inputlookup:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;hostname&amp;gt;/en-US/app/search/search?q=%7Cinputlookup%20dt1&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=-24h%40h&amp;amp;latest=now&amp;amp;display.general.type=statistics&amp;amp;sid=1494609014.208099&amp;amp;display.page.search.tab=statistics
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;index= |lookup dt1 cs_host&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;hostname&amp;gt;/en-US/app/search/search?q=search%20index%3D&amp;lt;indexname&amp;gt;%20%7Clookup%20dt1%20cs_host&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=-24h%40h&amp;amp;latest=now&amp;amp;display.general.type=events&amp;amp;display.page.search.tab=events&amp;amp;sid=1494609057.208159
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;index= |lookup local=true dt1 cs_host&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;hostname&amp;gt;/en-US/app/search/search?q=search%20index%3D&amp;lt;indexname&amp;gt;%20%7Clookup%20local%3Dtrue%20dt1%20cs_host&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=-24h%40h&amp;amp;latest=now&amp;amp;display.general.type=events&amp;amp;display.page.search.tab=events&amp;amp;sid=1494609075.208172
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 May 2017 17:14:08 GMT</pubDate>
    <dc:creator>dewoodruff</dc:creator>
    <dc:date>2017-05-12T17:14:08Z</dc:date>
    <item>
      <title>Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372682#M109591</link>
      <description>&lt;P&gt;Searches with lookups are failing in our environment. I have created a lookup file called &lt;STRONG&gt;dt1.csv&lt;/STRONG&gt; and a lookup definition called &lt;STRONG&gt;dt1&lt;/STRONG&gt;. Both the file and the definition have read and write permissions for all users in the &lt;STRONG&gt;search&lt;/STRONG&gt; app.&lt;/P&gt;

&lt;P&gt;This works successfully and shows the contents of the lookup:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup dt1 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, using the lookup as part of a query such as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt; |lookup dt1 cs_host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Fails with these errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer1] Streamed search execute failed because: Error in 'lookup' command: The lookup table 'dt1' does not exist or is not available.
[indexer2] Streamed search execute failed because: Error in 'lookup' command: The lookup table 'dt1' does not exist or is not available.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Every indexer errors out with that message. This happens regardless of the app the lookup is created in, and regardless of the user that creates the lookup.&lt;/P&gt;

&lt;P&gt;Any ideas on what would cause lookups to fail with these errors? We're on Splunk 6.5.1.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 18:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372682#M109591</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2017-05-10T18:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372683#M109592</link>
      <description>&lt;P&gt;Is there a distsearch.conf in the search app that has a blacklist for lookups?&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 20:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372683#M109592</guid>
      <dc:creator>sjohnson_splunk</dc:creator>
      <dc:date>2017-05-10T20:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372684#M109593</link>
      <description>&lt;P&gt;I am the SE assisting here. No, we can't seem to find any distsearch.conf outside of the default directories. I don't see anything in there blacklisting these lookups.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 13:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372684#M109593</guid>
      <dc:creator>adauria_splunk</dc:creator>
      <dc:date>2017-05-11T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372685#M109594</link>
      <description>&lt;P&gt;See the answer by @sjohnson.  One way to test is to try this which will work but it will be slower than it should be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;search&amp;gt; |lookup local=true dt1 cs_host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 May 2017 05:19:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372685#M109594</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-12T05:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372686#M109595</link>
      <description>&lt;P&gt;We're not able to find a distsearch.conf file in the search app directory. The query does succeed using local=true.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 12:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372686#M109595</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2017-05-12T12:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372687#M109596</link>
      <description>&lt;P&gt;try and do your search and | lookup &lt;STRONG&gt;dt1.csv&lt;/STRONG&gt; cs_host&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 12:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372687#M109596</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-12T12:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372688#M109597</link>
      <description>&lt;P&gt;Then you have a permission or (app) scope problem and you must not be running the 2 searches as the same user in the same app.  Show me the URL for both &lt;CODE&gt;|inputlookup dt1&lt;/CODE&gt;, &lt;CODE&gt;&amp;lt;search&amp;gt; |lookup dt1 cs_host&lt;/CODE&gt;,  and &lt;CODE&gt;&amp;lt;search&amp;gt; |lookup local=true dt1 cs_host&lt;/CODE&gt; and make sure that you are logged in as the same user each time.  It is surely that you are in 2 different apps; one which has access to the lookup and the other which does not.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 16:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372688#M109597</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-12T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372689#M109598</link>
      <description>&lt;P&gt;They were run both as the same regular user, and as the same administrative user, with the same results. Everything was done within the search app only. &lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 17:00:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372689#M109598</guid>
      <dc:creator>adauria_splunk</dc:creator>
      <dc:date>2017-05-12T17:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372690#M109599</link>
      <description>&lt;P&gt;Here you are. Hostname and index name removed for privacy.&lt;/P&gt;

&lt;P&gt;inputlookup:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;hostname&amp;gt;/en-US/app/search/search?q=%7Cinputlookup%20dt1&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=-24h%40h&amp;amp;latest=now&amp;amp;display.general.type=statistics&amp;amp;sid=1494609014.208099&amp;amp;display.page.search.tab=statistics
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;index= |lookup dt1 cs_host&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;hostname&amp;gt;/en-US/app/search/search?q=search%20index%3D&amp;lt;indexname&amp;gt;%20%7Clookup%20dt1%20cs_host&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=-24h%40h&amp;amp;latest=now&amp;amp;display.general.type=events&amp;amp;display.page.search.tab=events&amp;amp;sid=1494609057.208159
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;index= |lookup local=true dt1 cs_host&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;hostname&amp;gt;/en-US/app/search/search?q=search%20index%3D&amp;lt;indexname&amp;gt;%20%7Clookup%20local%3Dtrue%20dt1%20cs_host&amp;amp;display.page.search.mode=verbose&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=-24h%40h&amp;amp;latest=now&amp;amp;display.general.type=events&amp;amp;display.page.search.tab=events&amp;amp;sid=1494609075.208172
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 May 2017 17:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372690#M109599</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2017-05-12T17:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372691#M109600</link>
      <description>&lt;P&gt;Okay, so IIRC, "local" forces the lookup action to be executed on the search head, while the other does not.  Doesn't that indicate that the lookup table is not being replicated to the indexers/peers?  &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/343835/how-to-distribute-lookup-tables-in-an-indexer-clus.html"&gt;https://answers.splunk.com/answers/343835/how-to-distribute-lookup-tables-in-an-indexer-clus.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/634/in-a-distributed-search-environment-where-do-my-configurations-go-the-search-head-the-indexers.html"&gt;https://answers.splunk.com/answers/634/in-a-distributed-search-environment-where-do-my-configurations-go-the-search-head-the-indexers.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This thread describes a similar issue when the lookup table name was too long to be bundled.  (obviously not the case here.)&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/200719/where-does-a-lookup-table-need-to-be-in-a-distribu.html"&gt;https://answers.splunk.com/answers/200719/where-does-a-lookup-table-need-to-be-in-a-distribu.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In any case, on several threads I saw the admonition, "Check your bundle replication error messages."  Something in the replication process is screwy.&lt;/P&gt;

&lt;P&gt;Lastly, the lesson learned in this one was that the new/altered lookup table had to be on the SH captain, not just any search head.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/338008/why-do-i-see-old-data-in-my-lookup-table-in-a-sear.html"&gt;https://answers.splunk.com/answers/338008/why-do-i-see-old-data-in-my-lookup-table-in-a-sear.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 18:37:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372691#M109600</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-05-12T18:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372692#M109601</link>
      <description>&lt;P&gt;What version of splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 22:19:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372692#M109601</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-12T22:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372693#M109602</link>
      <description>&lt;P&gt;Are you clustered?&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 22:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372693#M109602</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-12T22:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372694#M109603</link>
      <description>&lt;P&gt;6.5.1. Search head is standalone. There are multiple indexers.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 16:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372694#M109603</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2017-05-15T16:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372695#M109604</link>
      <description>&lt;P&gt;The root cause ended up being a custom app with very long file paths caused the knowledge bundle to fail to replicate. Once the app was removed, the knowledge bundle began replicating again and lookups started working.&lt;/P&gt;

&lt;P&gt;The is apparently a known issue with 6.5.1 and has been resolved in some later version.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:43:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372695#M109604</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2017-06-22T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372696#M109605</link>
      <description>&lt;P&gt;@dewoodruff - Glad you found the solution to your question. Please don't forget to click "Accept" to close out your question and upvote any answers/comments that were helpful. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372696#M109605</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-06-22T16:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why do lookup searches fail with "The lookup table does not exist or is not available" error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372697#M109606</link>
      <description>&lt;P&gt;Helo, Can You help me?&lt;/P&gt;

&lt;P&gt;I have a like problem, but i think that the root cause is permission, since the problem happens for the users of a certain Role and the others work.&lt;/P&gt;

&lt;P&gt;The file (Lookup table files) is read-only for all users and apps.&lt;/P&gt;

&lt;P&gt;The Role Capabilities of the user that works is different from the Role Capabilities of the problem user, but I do not know which one I should add so that both work.&lt;/P&gt;

&lt;P&gt;Does anyone have any ideas?&lt;BR /&gt;
The problem can be Capabilities?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 17:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-do-lookup-searches-fail-with-quot-The-lookup-table-does-not/m-p/372697#M109606</guid>
      <dc:creator>evertonpsp</dc:creator>
      <dc:date>2018-11-06T17:47:42Z</dc:date>
    </item>
  </channel>
</rss>

