<?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: Incomplete lookup results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346073#M102491</link>
    <description>&lt;P&gt;When you say "rewritten" on a daily basis, what, exactly do you mean?  There is a time lag during propagation.  Is it possible that the lookup file was updated during or shortly before the search that is in error?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2017 20:03:57 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-11-07T20:03:57Z</dc:date>
    <item>
      <title>Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346072#M102490</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;

&lt;P&gt;We've been randomly facing with rather annoying and critical issue while working with lookups:&lt;BR /&gt;
sometimes only several entries get lookup fields when there should be many more of them. Rewriting lookup file helps in most of cases. &lt;/P&gt;

&lt;P&gt;But it is not stable performance and means you cannot trust results especially when lookup is used in scheduled searches. &lt;/P&gt;

&lt;P&gt;Can't say for sure what conditions cause such behaviour: often it happens with large csv files (over 1mln lines) that are rewritten on a daily basis and it happens in all Splunk versions.&lt;/P&gt;

&lt;P&gt;This time I managed to save search logs to the same query when lookup worked incorrectly and when it worked ok (after its rewriting).&lt;BR /&gt;
Comparison of these two files showed that they are mainly identical except several lines.&lt;/P&gt;

&lt;P&gt;In "good" log file there is an entry, that misses in "bad" log: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO   CMBucketId   CMIndexId: New indexName=main inserted, mapping to id=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also in good log: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO  DispatchThread      SrchOptMetrics optimize_toJson=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;While in bad:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO  DispatchThread   SrchOptMetrics optimize_toJson=2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Excel with comparison is attached &lt;/P&gt;

&lt;P&gt;Hope for your help, guys!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 18:51:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346072#M102490</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2017-11-07T18:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346073#M102491</link>
      <description>&lt;P&gt;When you say "rewritten" on a daily basis, what, exactly do you mean?  There is a time lag during propagation.  Is it possible that the lookup file was updated during or shortly before the search that is in error?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 20:03:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346073#M102491</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-11-07T20:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346074#M102492</link>
      <description>&lt;P&gt;It seems to me that there was a technique for shipping the lookup under a different name and then renaming it to put it in place "instantaneously".  I'll have to review and see if I can find the description.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 20:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346074#M102492</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-11-07T20:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346075#M102493</link>
      <description>&lt;P&gt;I mean that the same search is executed every day and results rewrite csv file.&lt;BR /&gt;
Resulting csv looks consistent and is searchable but somehow it isn't lookuped correctly. &lt;BR /&gt;
Speaking about error do you mean error in search that creates this lookup? Then no errors. If you mean errors in other searches that could appear while "csv-writing-search" was running - _internal index didn't show anything critical in that period either.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 19:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346075#M102493</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2017-11-08T19:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346076#M102494</link>
      <description>&lt;P&gt;The lookup file that's being updated daily, try to move it to etc/system/lookups instead of etc/apps/some_app/lookups. My bet is on knowledge bundle replication issue as it's a large lookup.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346076#M102494</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-08T20:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346077#M102495</link>
      <description>&lt;P&gt;at what time does the lookup get rewritten?  At what time do the searches run that are getting erroneous results?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 21:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346077#M102495</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-11-08T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346078#M102496</link>
      <description>&lt;P&gt;Lookup is rewritten early in the morning and last time we got erroneous results when used it in the evening. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 10:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346078#M102496</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2017-11-10T10:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete lookup results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346079#M102497</link>
      <description>&lt;P&gt;Thanks for your suggestion. But does knowlegde bundle replication applicable if we have one-machine installation?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 10:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Incomplete-lookup-results/m-p/346079#M102497</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2017-11-10T10:45:37Z</dc:date>
    </item>
  </channel>
</rss>

