<?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: help on lookup error in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597104#M207861</link>
    <description>&lt;P&gt;Can you complete the picture with the search or at least the line you used in the search which is giving you this error?&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 08:35:12 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-05-10T08:35:12Z</dc:date>
    <item>
      <title>Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597097#M207856</link>
      <description>&lt;P&gt;hi&lt;/P&gt;
&lt;P&gt;When I call the lookup like below it works fine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup test.csv&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but when I use the lookup in a search I have the message below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Error in 'lookup' command: Could not construct lookup&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is the lookup&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jip31_0-1652169282091.png" style="width: 493px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19542iB8F0D322B44614E9/image-dimensions/493x317?v=v2" width="493" height="317" role="button" title="jip31_0-1652169282091.png" alt="jip31_0-1652169282091.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;what I have to do please?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:12:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597097#M207856</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-10T14:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: help on lookup error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597099#M207857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you created the lookup definition? {settings -- Lookups -- Lookup Definitions]&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:02:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597099#M207857</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-10T08:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: help on lookup error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597101#M207858</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597101#M207858</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-10T08:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: help on lookup error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597103#M207860</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share your search and the conf files containing the lookup?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597103#M207860</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-10T08:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: help on lookup error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597104#M207861</link>
      <description>&lt;P&gt;Can you complete the picture with the search or at least the line you used in the search which is giving you this error?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597104#M207861</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-10T08:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: help on lookup error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597221#M207914</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Here is the csv&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jip31_0-1652201921860.png" style="width: 465px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19564i88884EFECC32A019/image-dimensions/465x190?v=v2" width="465" height="190" role="button" title="jip31_0-1652201921860.png" alt="jip31_0-1652201921860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup deb.csv entite as site output s espace
| stats last(site) as site, last(espace) as espace by s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 17:04:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597221#M207914</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-10T17:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597424#M207992</link>
      <description>&lt;P&gt;is anybody can explain me what is wrong in my csv please?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 14:50:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597424#M207992</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-11T14:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597439#M207999</link>
      <description>&lt;P&gt;What do you get when you do this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup deb.csv&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 May 2022 15:51:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597439#M207999</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T15:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597443#M208002</link>
      <description>&lt;P&gt;At the beginning it was working but when I executed the search, I did have the message below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error in 'lookup' command: Could not construct lookup&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;But now when I try to upload the file, Splunk tells me&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;The lookup table 'debit.csv' requires a .csv or KV store lookup definition.&lt;/LI-CODE&gt;&lt;P&gt;Here is the csv&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.cjoint.com/c/LElp7nHLilB" target="_blank"&gt;https://www.cjoint.com/c/LElp7nHLilB&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597443#M208002</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-11T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597448#M208006</link>
      <description>&lt;P&gt;Looks like you need to address that error!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597448#M208006</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T16:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597510#M208025</link>
      <description>&lt;P&gt;What do you mean exactly ?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 05:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597510#M208025</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-12T05:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597512#M208027</link>
      <description>&lt;P&gt;Thoroughly check your definitions to see if everything is correct - you could try recreating the key store to see if that fixes your issue.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 05:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597512#M208027</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T05:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597525#M208029</link>
      <description>&lt;P&gt;I done it and now&amp;nbsp;| inputlookup deb.csv works fine&lt;/P&gt;&lt;P&gt;But when I run my searches the lookup doesnt works with 2 different case&lt;/P&gt;&lt;P&gt;If I run this, I have no error but the csv is not taken into account&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup deb.csv sam espace as site output entite debit
| stats last(site) as "Espace" by sam &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And if I run this, I have the message "&lt;SPAN&gt;Error in 'lookup' command: Could not construct lookup"&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup deb.csv espace as site output entite debit sam
| stats last(site) as "Espace" by sam &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;There is no empty fields in the csv&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cjoint.com/c/LElp7nHLilB" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.cjoint.com/c/LElp7nHLilB&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is wrong please?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 06:56:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597525#M208029</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-12T06:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597528#M208031</link>
      <description>&lt;P&gt;sam doesn't exist in the csv list you provided but I suspect that's just a typo as you would have got a different error otherwise.&lt;/P&gt;&lt;P&gt;How big is your csv file?&lt;/P&gt;&lt;P&gt;What does the job inspector report?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 07:29:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597528#M208031</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T07:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597545#M208041</link>
      <description>&lt;P&gt;sam is the CSV example correspond to "s" field&lt;/P&gt;&lt;P&gt;the csv size is 4 ko&lt;/P&gt;&lt;P&gt;here is some info from the job inspector&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jip31_0-1652343769181.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19605i8CA583FE49C0DA30/image-size/large?v=v2&amp;amp;px=999" role="button" title="jip31_0-1652343769181.png" alt="jip31_0-1652343769181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 08:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597545#M208041</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-12T08:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597875#M208188</link>
      <description>&lt;P&gt;Have you tried using "AS" instead of "as" in your lookup command?&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2022 10:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597875#M208188</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-15T10:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597909#M208203</link>
      <description>&lt;P&gt;it changes nothing, same message and same result&lt;/P&gt;&lt;P&gt;If you look at the error message, i think the csv is not interpreted correctly because you can see the fields are not separated correctly&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could not construct lookup 'debit.csv, entite, AS, site, output, sam, espace&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I dont understand what is wrong because when I am doing | inputlookup debit.csv, the data are correctly displayed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 08:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/597909#M208203</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-05-16T08:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/600210#M208946</link>
      <description>&lt;DIV class=""&gt;Is anybody can help please?&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jun 2022 05:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/600210#M208946</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-06-02T05:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/601470#M209333</link>
      <description>&lt;P&gt;Is anybody can help please?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 06:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/601470#M209333</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-06-13T06:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving this lookup error?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/678005#M231862</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ILoveMangoes99_0-1708365881640.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29404i1454D1C713B5F539/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ILoveMangoes99_0-1708365881640.png" alt="ILoveMangoes99_0-1708365881640.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No sure if you've resolved this issue yet, but you can try to make sure your csv file is in this format?&amp;nbsp; The format you have is a coma-delimited, but Splunk lookup table may not like that particular format. So you may want to try to fix the lookup table to make it look like this?&amp;nbsp; Just sharing my suggestion.&amp;nbsp; I encountered something that looks similar to this issue.&amp;nbsp; Hope this helps. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 18:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-receiving-this-lookup-error/m-p/678005#M231862</guid>
      <dc:creator>ILoveMangoes99</dc:creator>
      <dc:date>2024-02-19T18:06:50Z</dc:date>
    </item>
  </channel>
</rss>

