<?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 files not working even after changing the permissions in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114145#M30154</link>
    <description>&lt;P&gt;OK, one last guess: namespace collision causing you to pick up an identically-named stanza from a different configuration file.  This just happened to me and it was a BEAR to figure out.  You can use &lt;CODE&gt;btool&lt;/CODE&gt; to help you look for duplicates:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin//splunk cmd btool lookups list --debug
/opt/splunk/bin//splunk cmd btool props list --debug
/opt/splunk/bin//splunk cmd btool transforms list --debug
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Jul 2015 05:13:58 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-09T05:13:58Z</dc:date>
    <item>
      <title>lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114140#M30149</link>
      <description>&lt;P&gt;Experts,&lt;/P&gt;

&lt;P&gt;I am tired of trying to make this work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; . We have two instances, one is a distributed search with (1SH and 3 IDX Search peers) and a second instance (SH Cluster and 3 IDX Cluster - which is new). We have established a connection between New SHCluster members to old (3 Indexer search peers) making the data searchable. Now, i started migrating apps from old SH to new SHC. I have copied everything from lookups folder to the new apps lookups dir. Changed permissions but i get the following errors&lt;/P&gt;

&lt;P&gt;idx1:The lookup table 'xyz' does not exist. It is referenced by configuration 'source::xyz '.&lt;BR /&gt;
idx2:The lookup table 'xyz' does not exist. It is referenced by configuration 'source::xyz '.&lt;BR /&gt;
idx3:The lookup table 'xyz' does not exist. It is referenced by configuration 'source::xyz '.&lt;/P&gt;

&lt;P&gt;Where idx1,idx2,idx3 are old indexers.  I have made all the lookups available for all apps with read=* and write=* and i still get the error and few dashboards are not populating.&lt;/P&gt;

&lt;P&gt;Just to make sure , i ran |inputlookup "xyz.csv" and sure enough, data populates. Any takers?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 03:23:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114140#M30149</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-07-09T03:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114141#M30150</link>
      <description>&lt;P&gt;You do not need to deploy this to your indexers (yes, i know that your indexers are complaining) but rather to your search heads.  The &lt;CODE&gt;lookup&lt;/CODE&gt; configuration files are now part of bundle replication from the search head and they must be there to be send over to the indexers.  But I think you probably did this correctly.  Remember that for automatic lookups there are &lt;EM&gt;3&lt;/EM&gt; parts: the part in &lt;CODE&gt;props.conf&lt;/CODE&gt; that defines the lookup command, the lookup file itself AND the part (it is not saying "lookup &lt;EM&gt;file&lt;/EM&gt; not found) in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; that glues the other 2 pieces together.  It looks like you are missing something like this in your &lt;CODE&gt;transforms.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xyz]
filename = xyz.csv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jul 2015 04:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114141#M30150</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-09T04:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114142#M30151</link>
      <description>&lt;P&gt;I definitely have that entry in my transforms.conf under search app context just like it is on the old search head&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 04:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114142#M30151</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-07-09T04:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114143#M30152</link>
      <description>&lt;P&gt;OK then the only other thing that I can think is that the actual host OS file ownership/permissions are wrong on &lt;CODE&gt;xyz.csv&lt;/CODE&gt;.  Have you checked that?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 04:40:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114143#M30152</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-09T04:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114144#M30153</link>
      <description>&lt;P&gt;I sure did.&lt;/P&gt;

&lt;P&gt;to be precise,&lt;/P&gt;

&lt;P&gt;I have an entry in props.conf as follows&lt;/P&gt;

&lt;P&gt;LOOKUP-name = name fieldx AS fieldx OUTPUTNEW fieldy AS fieldy&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[name]&lt;BR /&gt;
filename = name.csv&lt;/P&gt;

&lt;P&gt;and the lookup file in /opt/splunk/etc/apps/search/lookups/    new.csv&lt;BR /&gt;
Permissions : All Apps, everyone read and write. Like i said, when i run the |inputlookup name.csv, i get the table (So file exists)&lt;BR /&gt;
i did a grep from the entries and found exact extractions as on old search head in props and transforms. Puzzled&lt;/P&gt;

&lt;P&gt;Any other suggestions?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 05:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114144#M30153</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-07-09T05:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114145#M30154</link>
      <description>&lt;P&gt;OK, one last guess: namespace collision causing you to pick up an identically-named stanza from a different configuration file.  This just happened to me and it was a BEAR to figure out.  You can use &lt;CODE&gt;btool&lt;/CODE&gt; to help you look for duplicates:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin//splunk cmd btool lookups list --debug
/opt/splunk/bin//splunk cmd btool props list --debug
/opt/splunk/bin//splunk cmd btool transforms list --debug
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jul 2015 05:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114145#M30154</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-09T05:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: lookup files not working even after changing the permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114146#M30155</link>
      <description>&lt;P&gt;I had manually changed all the configs from search app to xyz app and redployed. All good now&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jul 2015 03:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-files-not-working-even-after-changing-the-permissions/m-p/114146#M30155</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2015-07-11T03:24:15Z</dc:date>
    </item>
  </channel>
</rss>

