<?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: Where does a lookup table need to be in a distributed search environment? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138616#M38041</link>
    <description>&lt;P&gt;Try moving it feom etc//system  to etc//apps into any application.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2014 17:48:13 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-12-02T17:48:13Z</dc:date>
    <item>
      <title>Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138613#M38038</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I'm having an issue where one of my indexers is complaining about a lookup table that I have setup on my search head. I get the error&lt;/P&gt;

&lt;P&gt;[IndexerMachine]  Streamed search execute failed because: Error in 'lookup' command The lookup table 'groupIdToName' does not exist.&lt;/P&gt;

&lt;P&gt;From what I can tell from other Splunk Answers, the lookup table should be replicated to the search peers as part of the bundle replication (&lt;A href="http://answers.splunk.com/answers/28541/lookup-table-does-not-exist.html"&gt;http://answers.splunk.com/answers/28541/lookup-table-does-not-exist.html&lt;/A&gt;). However, when I look at $SPLUNK_HOME/var/run/searchpeers/{most recent bundle} on the search peer, I don't see the lookup that should have been copied. In fact, &lt;STRONG&gt;I don't even see the &lt;EM&gt;system&lt;/EM&gt; folder in that bundle&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;So, I have two questions:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;How should a lookup be set up for a distributed search environment (i.e. should the lookup live on the search head, indexers, or both)?&lt;/LI&gt;
&lt;LI&gt;Assuming my set up is correct and the lookup should only live on the search head, how do I make sure that the lookup gets copied as part of the bundle replication?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 14:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138613#M38038</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2014-12-02T14:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138614#M38039</link>
      <description>&lt;P&gt;Does the lookup have appropriate permissions in Search Head?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 17:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138614#M38039</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-02T17:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138615#M38040</link>
      <description>&lt;P&gt;Yes. It is a globally permissioned lookup stored in the $SPLUNK_HOME$/etc/system/lookup folder. Everyone has read access to the lookup.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 17:44:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138615#M38040</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2014-12-02T17:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138616#M38041</link>
      <description>&lt;P&gt;Try moving it feom etc//system  to etc//apps into any application.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 17:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138616#M38041</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-02T17:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138617#M38042</link>
      <description>&lt;P&gt;@somesoni2 - I moved the lookup to an application. I see it in the &lt;CODE&gt;$SPLUNK_HOME$\var\run\searchpeers\$BUNDLE_FOLDER$\apps\myApp\lookups&lt;/CODE&gt; folder, but Splunk still shows the same error saying it wasn't found on the indexer.&lt;/P&gt;

&lt;P&gt;Right now, my workaround is to use local=true for the lookup, but that's obviously not ideal. I'm not sure how to debug further.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 22:10:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138617#M38042</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2014-12-08T22:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138618#M38043</link>
      <description>&lt;P&gt;I was referring to move it to $SPLUNK_HOME\etc\apps\lookups folder. This way it will be part of replication bundle. You can use search app for testing, if you don't want to create a new one.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 23:26:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138618#M38043</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-08T23:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138619#M38044</link>
      <description>&lt;P&gt;Right, I moved it there on the search head. My point is that it &lt;EM&gt;appears&lt;/EM&gt; to be replicated (it shows up in the replication folder on the indexer). But I'm still getting the error.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2014 23:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138619#M38044</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2014-12-08T23:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138620#M38045</link>
      <description>&lt;P&gt;This was related to an app hitting an error when trying to perform bundle replication. The app was creating a file name that was way too long. Adding the app to the blacklist for bundle replication fixed the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2014 15:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138620#M38045</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2014-12-22T15:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138621#M38046</link>
      <description>&lt;P&gt;Where did you find what app was causing the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138621#M38046</guid>
      <dc:creator>nlembrechts</dc:creator>
      <dc:date>2018-01-23T16:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where does a lookup table need to be in a distributed search environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138622#M38047</link>
      <description>&lt;P&gt;I don't remember, but I likely found it in the splunkd.log file. I'm sure there was an error there about bundle replication.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:39:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Where-does-a-lookup-table-need-to-be-in-a-distributed-search/m-p/138622#M38047</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2018-01-23T16:39:32Z</dc:date>
    </item>
  </channel>
</rss>

