<?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: Lookup table does not exist from indexer but everything is global in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61091#M15057</link>
    <description>&lt;P&gt;The splunk user owns it. That first bit in UNIX permissions refers to the owner.&lt;/P&gt;

&lt;P&gt;splunk@evgconlnx06:~/etc/apps/euc$ head -1 lookups/internal_domains.csv&lt;BR /&gt;
domain,is_internal&lt;/P&gt;

&lt;P&gt;I can read the file as the splunk user, and I can perform the lookup manually and automatically under any situation as long as I'm doing it on the local search head and not across a search peer. File permissions aren't the issue, I'm afraid...&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:45:33 GMT</pubDate>
    <dc:creator>madhack</dc:creator>
    <dc:date>2020-09-28T14:45:33Z</dc:date>
    <item>
      <title>Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61087#M15053</link>
      <description>&lt;P&gt;I've configured a CSV lookup and an automatic lookup on Splunk 5.0.4 that work on one of my search heads (let's call it &lt;EM&gt;host01&lt;/EM&gt;). When I push the app to the indexer search peer (&lt;EM&gt;host02&lt;/EM&gt;) that holds the data, &lt;EM&gt;host01&lt;/EM&gt; starts showing errors about the lookup not existing:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;[host02] The lookup table 'internal_domains' does not exist. It is referenced by configuration 'source::maillog|host::mailhost|sendmail_syslog'.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;All of my searching has led me to believe this kind of thing is normally a permission issue on any of the pieces involved (lookup table file, lookup defintion, or automatic lookup) but the ONLY "*.meta" files I can find that contain any information about this lookup on my indexer are in my app, and it has this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[props]
export = system

[lookups/internal_domains.csv]
export = system
version = 5.0.2
modtime = 1367367795.814840000
access = read : [ * ], write : [ admin, power ]
owner = nobody

[transforms/internal_domains]
export = system
version = 5.0.3
access = read : [ * ], write : [ admin, power ]
modtime = 1371773947.230195000
owner = nobody

[props/sendmail_syslog/LOOKUP-direction]
access = read : [ * ], write : [ admin, power ]
owner = nobody
version = 5.0.4
modtime = 1378938232.175058000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The most confusing part is that if I log in to &lt;EM&gt;host02&lt;/EM&gt; and do the exact same search, I don't get any errors and the automatic lookup happens, regardless of what app I do it from. Meanwhile, the errors didn't start showing up on &lt;EM&gt;host01&lt;/EM&gt; until I'd pushed the definitions to &lt;EM&gt;host02&lt;/EM&gt;. I'm sure I must be missing something obvious.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 22:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61087#M15053</guid>
      <dc:creator>madhack</dc:creator>
      <dc:date>2013-09-11T22:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61088#M15054</link>
      <description>&lt;P&gt;Windows does not transfer permissions well.  Did you check the Windows access rights for the .csv file on host02 and host01?&lt;BR /&gt;
How did you "push" the app from host01 to host02?&lt;BR /&gt;&lt;BR /&gt;
Does the .csv still exist on host01?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 23:13:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61088#M15054</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-11T23:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61089#M15055</link>
      <description>&lt;P&gt;There isn't any Windows involved; I should have specified that both hosts are Linux. The CSV was created using a Python script on another Linux box and scped over.&lt;/P&gt;

&lt;P&gt;The file is on both hosts owned by splunk:splunk mode 600. The app was pushed via deployment server.&lt;/P&gt;

&lt;P&gt;splunk@host01:~/etc/apps/euc$ ls -l lookups/internal_domains.csv&lt;BR /&gt;
-rw------- 1 splunk splunk 3073 Sep 10 22:48 lookups/internal_domains.csv&lt;/P&gt;

&lt;P&gt;splunk@host02:~/etc/apps/euc$ ls -l lookups/internal_domains.csv&lt;BR /&gt;
-rw------- 1 splunk splunk 3073 Sep 11 22:24 lookups/internal_domains.csv&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61089#M15055</guid>
      <dc:creator>madhack</dc:creator>
      <dc:date>2020-09-28T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61090#M15056</link>
      <description>&lt;P&gt;I'm not a big Linux guy, but from what I know with a 600 it should not work anywhere.  Only root can read it.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 00:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61090#M15056</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-12T00:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61091#M15057</link>
      <description>&lt;P&gt;The splunk user owns it. That first bit in UNIX permissions refers to the owner.&lt;/P&gt;

&lt;P&gt;splunk@evgconlnx06:~/etc/apps/euc$ head -1 lookups/internal_domains.csv&lt;BR /&gt;
domain,is_internal&lt;/P&gt;

&lt;P&gt;I can read the file as the splunk user, and I can perform the lookup manually and automatically under any situation as long as I'm doing it on the local search head and not across a search peer. File permissions aren't the issue, I'm afraid...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:45:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61091#M15057</guid>
      <dc:creator>madhack</dc:creator>
      <dc:date>2020-09-28T14:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61092#M15058</link>
      <description>&lt;P&gt;It is my understanding that there should be &lt;EM&gt;no&lt;/EM&gt; references to the lookup table in your indexer's configuration files. Lookups should be defined on the search head, and that is also where the lookup tables are stored. Distributed search takes care of distributing the lookups to the indexer as needed.&lt;/P&gt;

&lt;P&gt;There is one caveat though - the lookup (file, definition, and automatic lookup definition) should NOT be &lt;CODE&gt;private&lt;/CODE&gt;. They should be consistent (as you noted) and have permissions at either the &lt;CODE&gt;app&lt;/CODE&gt; or &lt;CODE&gt;global&lt;/CODE&gt; level.&lt;/P&gt;

&lt;P&gt;I would&lt;BR /&gt;&lt;BR /&gt;
 1. Remove the csv file, the props.conf entries and the transforms.conf entries from host2&lt;BR /&gt;&lt;BR /&gt;
 2. Make sure that all these items exist on host1, with permissions of &lt;CODE&gt;app&lt;/CODE&gt; or &lt;CODE&gt;global&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
 3. The .csv file should have the same ownership and permissions as the various .conf files&lt;BR /&gt;&lt;BR /&gt;
 4. Check that you have set up distributed search on host1  &lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 01:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61092#M15058</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-09-12T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not exist from indexer but everything is global</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61093#M15059</link>
      <description>&lt;P&gt;There are users who only have access to host02 and not host01 for various reasons. I only index on host02 but I search on both host01 and host02. Am I to understand that this is not a supported configuration?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 01:45:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-exist-from-indexer-but-everything-is/m-p/61093#M15059</guid>
      <dc:creator>madhack</dc:creator>
      <dc:date>2013-09-12T01:45:31Z</dc:date>
    </item>
  </channel>
</rss>

