<?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: Inaccurate results from a lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35735#M7850</link>
    <description>&lt;P&gt;I tried splitting the lookup table into two 18,000 row (approximately) tables.  When I performed the lookup on either table, the results were fine.  If I combined the tables into a single one, data from the multi-valued field were still showing up in other fields.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2011 04:00:25 GMT</pubDate>
    <dc:creator>jambajuice</dc:creator>
    <dc:date>2011-02-01T04:00:25Z</dc:date>
    <item>
      <title>Inaccurate results from a lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35734#M7849</link>
      <description>&lt;P&gt;I have a lookup table that contains CVSS vulnerability metrics.  The fields are as follows:  &lt;/P&gt;

&lt;P&gt;"_time","cve_id",score,"access_vector","access_complexity",authentication,"integrity_impact","availability_impact","confidentiality_impact","vuln_product"&lt;/P&gt;

&lt;P&gt;The vuln_product field is multivalued.  Sometimes events may have 100+ items in the vuln_product field.  Its data looks like the following:  &lt;/P&gt;

&lt;P&gt;"videolan:vlc_media_player:0.2.82&lt;BR /&gt;
videolan:vlc_media_player:0.2.83&lt;BR /&gt;
videolan:vlc_media_player:0.2.80"&lt;/P&gt;

&lt;P&gt;The lookup table is about 11 MB in size.  When I perform a search with about 50,000 results and I do a lookup on the cve_id and output the rest of those fields, data from the "vuln_product" field is showing up in other fields.  I've double-checked the lookup table and the data looks clean.  I've compared the entries in the lookup table with events that were or were not displaying properly and I can't see any difference in the data. &lt;/P&gt;

&lt;P&gt;What might be the cause of Splunk not successfully getting events out of the lookup table?&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;

&lt;P&gt;Craig &lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2011 10:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35734#M7849</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2011-01-29T10:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Inaccurate results from a lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35735#M7850</link>
      <description>&lt;P&gt;I tried splitting the lookup table into two 18,000 row (approximately) tables.  When I performed the lookup on either table, the results were fine.  If I combined the tables into a single one, data from the multi-valued field were still showing up in other fields.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2011 04:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35735#M7850</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2011-02-01T04:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inaccurate results from a lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35736#M7851</link>
      <description>&lt;P&gt;I also tried creating two separate lookup tables.  One contains the all of the fields except for the big, multi-valued "vuln_product" field.  I created another lookup table that only has cve_id and vuln_product fields.  If I do a lookup on the first table and then a lookup on the second table, everything is fine.  But if I try and make a lookup on a single, big table, the data gets mashed up.  &lt;/P&gt;

&lt;P&gt;Is this a bug?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:23:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35736#M7851</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2020-09-28T09:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inaccurate results from a lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35737#M7852</link>
      <description>&lt;P&gt;My suspicion is that your lookup table has multiple key value entries.  Assuming the first field is the only key field, check for key uniqueness like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;awk -F, '{print $1}' ${SPLUNK_HOME}/etc/MyApp/lookups/MyLookupFile.csv |&amp;#11; uniq -d
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 May 2015 13:20:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inaccurate-results-from-a-lookup/m-p/35737#M7852</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-27T13:20:46Z</dc:date>
    </item>
  </channel>
</rss>

