<?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 Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90118#M23109</link>
    <description>&lt;P&gt;I created a look up table that does return all the fields if I use the search command:&lt;/P&gt;

&lt;P&gt;|inputlookup lookuptable&lt;/P&gt;

&lt;P&gt;But I use the lookup command I get the following error:&lt;/P&gt;

&lt;P&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.&lt;/P&gt;

&lt;P&gt;This is related to this thread:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://splunk-base.splunk.com/answers/38321/could-not-find-all-of-the-specified-lookup-fields-in-the-lookup-table" target="test_blank"&gt;http://splunk-base.splunk.com/answers/38321/could-not-find-all-of-the-specified-lookup-fields-in-the-lookup-table&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I solve this?&lt;/P&gt;

&lt;P&gt;Thanks for your time.&lt;BR /&gt;
Lp&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2012 14:04:37 GMT</pubDate>
    <dc:creator>lpolo</dc:creator>
    <dc:date>2012-10-15T14:04:37Z</dc:date>
    <item>
      <title>Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90118#M23109</link>
      <description>&lt;P&gt;I created a look up table that does return all the fields if I use the search command:&lt;/P&gt;

&lt;P&gt;|inputlookup lookuptable&lt;/P&gt;

&lt;P&gt;But I use the lookup command I get the following error:&lt;/P&gt;

&lt;P&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.&lt;/P&gt;

&lt;P&gt;This is related to this thread:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://splunk-base.splunk.com/answers/38321/could-not-find-all-of-the-specified-lookup-fields-in-the-lookup-table" target="test_blank"&gt;http://splunk-base.splunk.com/answers/38321/could-not-find-all-of-the-specified-lookup-fields-in-the-lookup-table&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I solve this?&lt;/P&gt;

&lt;P&gt;Thanks for your time.&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2012 14:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90118#M23109</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-10-15T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90119#M23110</link>
      <description>&lt;P&gt;Have you tried the suggested work arounds in the answers link that you posted? Have you checked for hidden characters? Was this lookup table ever working?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2012 14:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90119#M23110</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2012-10-15T14:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90120#M23111</link>
      <description>&lt;P&gt;I have tried and it does not work. My file csv is clean. Using vi I checked if there was any hidden character. I could not find any. I just see $ sign at the end of each line.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2012 15:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90120#M23111</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-10-15T15:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90121#M23112</link>
      <description>&lt;P&gt;I was able to solve the problem with the following steps:&lt;/P&gt;

&lt;P&gt;-. open the lookup file with vi. Then, look for hidden characters ":set list". You should only see this hidden character at the end of line "$". Delete, any hidden character that is not part of your text lookup file. Then, save the file and try to use the lookup command. &lt;BR /&gt;
-. If the previous step does not fix the problem. cat you csv file. You should only see the text content of the file. &lt;/P&gt;

&lt;P&gt;I found this in my csv file:&lt;/P&gt;

&lt;P&gt;cat feeds.csv&lt;BR /&gt;
&lt;STRONG&gt;ï»¿&lt;/STRONG&gt;FeedType,MaxHoursOld&lt;/P&gt;

&lt;P&gt;I delete &lt;STRONG&gt;ï»¿&lt;/STRONG&gt; by deleting "FeedType" and re-writing it. I saved the file and my lookup command worked as it should.&lt;/P&gt;

&lt;P&gt;Lp&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2012 16:22:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90121#M23112</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-10-15T16:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90122#M23113</link>
      <description>&lt;P&gt;Good job! Now the real question is why those characters were added. Are you by chance editing that lookup table with excel or some other app?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2012 16:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90122#M23113</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2012-10-15T16:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90123#M23114</link>
      <description>&lt;P&gt;The lookup file was initially edit with notepad.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2012 15:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90123#M23114</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-10-16T15:14:14Z</dc:date>
    </item>
  </channel>
</rss>

