<?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 append value to event in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301344#M90742</link>
    <description>&lt;P&gt;the search I am doing is index=x| lookup test userN OUTPUT isMbr is this right?&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2017 01:32:43 GMT</pubDate>
    <dc:creator>samlinsongguo</dc:creator>
    <dc:date>2017-05-22T01:32:43Z</dc:date>
    <item>
      <title>Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301336#M90734</link>
      <description>&lt;P&gt;I have a lookup table as below&lt;BR /&gt;
User   IsMember&lt;BR /&gt;
user1  Yes&lt;BR /&gt;
user2  Yes&lt;BR /&gt;
user3  No&lt;/P&gt;

&lt;P&gt;I save the table as memberlist.csv save as type is CSV(comma delimited)(*.csv) &lt;BR /&gt;
I import the table and define the lookup (lookupA) as Splunk doc described in the web GUI&lt;BR /&gt;
Then I run following search &lt;/P&gt;

&lt;P&gt;index=A | lookup lookupA User OUTPUT IsMemeber&lt;/P&gt;

&lt;P&gt;I expect the commend will add an IsMember value into the event right? but I could not find the field.&lt;/P&gt;

&lt;P&gt;Any suggestions abot where I am doing it wrong?&lt;/P&gt;

&lt;P&gt;Cheers&lt;BR /&gt;
Sam&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 05:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301336#M90734</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-19T05:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301337#M90735</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;For csv lookups I create the files with a text editor or via a script to have a text file at the end, then the contents of memberlist.csv  file will be like that:&lt;/P&gt;

&lt;P&gt;User,IsMember&lt;BR /&gt;
user1,Yes&lt;BR /&gt;
user2,Yes&lt;BR /&gt;
user3,No&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 06:32:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301337#M90735</guid>
      <dc:creator>aakwah</dc:creator>
      <dc:date>2017-05-19T06:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301338#M90736</link>
      <description>&lt;P&gt;Hi Sam, &lt;/P&gt;

&lt;P&gt;Have you shared your lookup definition with apps? If not, please follow the steps described in the documentation below and try again: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/Knowledge/Usefieldlookupstoaddinformationtoyourevents#Share_the_lookup_definition_with_apps"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/Knowledge/Usefieldlookupstoaddinformationtoyourevents#Share_the_lookup_definition_with_apps&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps. Thanks!&lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 06:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301338#M90736</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2017-05-19T06:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301339#M90737</link>
      <description>&lt;P&gt;You are using &lt;CODE&gt;spaces&lt;/CODE&gt; to delimit the field values in your lookup, but you need to be using &lt;CODE&gt;commas&lt;/CODE&gt;.  Change that and it will work just fine.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 14:21:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301339#M90737</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-19T14:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301340#M90738</link>
      <description>&lt;P&gt;I have replaced spaces to to commas but still can not see the new field added into each event. What I did was open the .csv file in notepad and replace the spaces between user and IsMember field and save it. and i also tried create .csv file in notepad from start like below but still cant see appended field in each event&lt;/P&gt;

&lt;P&gt;userN,isMbr&lt;BR /&gt;
a,Yes&lt;BR /&gt;
b,Yes&lt;/P&gt;

&lt;P&gt;any ideas where the problem is?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 01:28:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301340#M90738</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-22T01:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301341#M90739</link>
      <description>&lt;P&gt;I have replaced spaces to to commas but still can not see the new field added into each event. What I did was open the .csv file in notepad and replace the spaces between user and IsMember field and save it. and i also tried create .csv file in notepad from start like below but still cant see appended field in each event&lt;/P&gt;

&lt;P&gt;userN,isMbr&lt;BR /&gt;
a,Yes&lt;BR /&gt;
b,Yes&lt;/P&gt;

&lt;P&gt;any ideas where the problem is?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 01:29:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301341#M90739</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-22T01:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301342#M90740</link>
      <description>&lt;P&gt;yes I did, I put all as global for both file and definition &lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 01:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301342#M90740</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-22T01:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301343#M90741</link>
      <description>&lt;P&gt;the search I am doing is index=x| lookup test userN OUTPUT isMbr is this right?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 01:32:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301343#M90741</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-22T01:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301344#M90742</link>
      <description>&lt;P&gt;the search I am doing is index=x| lookup test userN OUTPUT isMbr is this right?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 01:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301344#M90742</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-22T01:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301345#M90743</link>
      <description>&lt;P&gt;I found what is the problem&lt;BR /&gt;
1 as previous mentioned csv file format need to be commas separated.&lt;BR /&gt;
2 Lookup table basic the search field need to match a field in the event and it is case sensitive, otherwise I need to define which field to match &lt;BR /&gt;
    index=x eventField=* | lookup lookupName lookupTableSearchField AS eventField &lt;BR /&gt;
that will do the trick&lt;BR /&gt;
Thank you for all the help&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 05:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301345#M90743</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-05-22T05:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301346#M90744</link>
      <description>&lt;P&gt;Good news that the issue is solved !&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 10:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301346#M90744</guid>
      <dc:creator>aakwah</dc:creator>
      <dc:date>2017-05-22T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table does not append value to event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301347#M90745</link>
      <description>&lt;P&gt;You can make the matching case-insensitive but you need the CLI to add  &lt;CODE&gt;case_sensitive_match = false&lt;/CODE&gt; to &lt;CODE&gt;transforms.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Don't forget to up-vote helpful answers.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 19:07:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-does-not-append-value-to-event/m-p/301347#M90745</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-05-22T19:07:59Z</dc:date>
    </item>
  </channel>
</rss>

