<?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: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393597#M114454</link>
    <description>&lt;P&gt;Splunk JIRA SPL-153269&lt;/P&gt;

&lt;P&gt;A configuration added somewhere between Splunk Enterprise versions 6.4.? and 7.0.2 introduced an issue where using a macro with several lookups against the same lookup table results in only a single match attempt with subsequent matches against the lookup table being skipped.  &lt;/P&gt;

&lt;P&gt;Make the following configuration change to  &lt;CODE&gt;limits.conf&lt;/CODE&gt;:&lt;BR /&gt;
&lt;CODE&gt;[search_optimization::projection_elimination]&lt;BR /&gt;
 cmds_black_list = lookup&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;There should not be a significant performance hit since this is just reverting this configuration to that in a previous version of Splunk.  &lt;/P&gt;

&lt;P&gt;Fix has been tested and confirmed in my environment, under these specific test conditions.  I know the problem didn't exist under some version of 6.x and started in some version of 7.x, I just don't recall which upgrade specifically broke the macro/lookups.  I am not sure if it resolves other similar behavior observed under different conditions.  &lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 21:07:28 GMT</pubDate>
    <dc:creator>marycordova</dc:creator>
    <dc:date>2018-08-06T21:07:28Z</dc:date>
    <item>
      <title>Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393596#M114453</link>
      <description>&lt;P&gt;Problem:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;search: &lt;CODE&gt;1.  Search:  index=win* EventCode=4624 |&lt;/CODE&gt;userlookup(Account_Name)&lt;CODE&gt;| table Account_Name name sam eid mail | rename Account_Name as user | search eid!=NONE_FOUND | dedup user name sam eid mail&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;static time range for explicit comparison: start 8/6/18 13:06:50.000; end 8/6/18 13:21:50.000&lt;/LI&gt;
&lt;LI&gt;fast 13 results; verbose 1257 results&lt;/LI&gt;
&lt;LI&gt;userlookup macro takes in a single attribute and attempts to match it against multiple columns in lookup table: &lt;CODE&gt;eval $attribute$=lower($attribute$) | lookup ad_users.csv sam as $attribute$ OUTPUTNEW name eid sam upn created pwd_set mail tel_ext manager division job department region country | lookup ad_users.csv mail as $attribute$ OUTPUTNEW name eid sam upn created pwd_set mail tel_ext manager division job department region country | lookup ad_users.csv upn as $attribute$ OUTPUTNEW name eid sam upn created pwd_set mail tel_ext manager division job department region country | eval $attribute$=upper($attribute$) | lookup ad_users.csv eid as $attribute$ OUTPUTNEW name eid sam upn created pwd_set mail tel_ext manager division job department region country | eval $attribute$=lower($attribute$) | eval eid=upper(eid)&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:48:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393596#M114453</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2020-09-29T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393597#M114454</link>
      <description>&lt;P&gt;Splunk JIRA SPL-153269&lt;/P&gt;

&lt;P&gt;A configuration added somewhere between Splunk Enterprise versions 6.4.? and 7.0.2 introduced an issue where using a macro with several lookups against the same lookup table results in only a single match attempt with subsequent matches against the lookup table being skipped.  &lt;/P&gt;

&lt;P&gt;Make the following configuration change to  &lt;CODE&gt;limits.conf&lt;/CODE&gt;:&lt;BR /&gt;
&lt;CODE&gt;[search_optimization::projection_elimination]&lt;BR /&gt;
 cmds_black_list = lookup&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;There should not be a significant performance hit since this is just reverting this configuration to that in a previous version of Splunk.  &lt;/P&gt;

&lt;P&gt;Fix has been tested and confirmed in my environment, under these specific test conditions.  I know the problem didn't exist under some version of 6.x and started in some version of 7.x, I just don't recall which upgrade specifically broke the macro/lookups.  I am not sure if it resolves other similar behavior observed under different conditions.  &lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 21:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393597#M114454</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2018-08-06T21:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393598#M114455</link>
      <description>&lt;P&gt;similar issues on answers: &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;A href="https://answers.splunk.com/answers/658420/verbose-mode-returns-results-as-expect-but-not-fas.html"&gt;https://answers.splunk.com/answers/658420/verbose-mode-returns-results-as-expect-but-not-fas.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://answers.splunk.com/answers/343834/why-am-i-getting-three-different-results-running-a.html"&gt;https://answers.splunk.com/answers/343834/why-am-i-getting-three-different-results-running-a.html&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;it would be interesting to see if testing shows this resolves them&lt;BR /&gt;
it's possible that this specific config doesn't but another option in the stanza would&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 21:09:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393598#M114455</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2018-08-06T21:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393599#M114456</link>
      <description>&lt;P&gt;We have the same problem without using a macro in Splunk 6.6.5. The search of type&lt;BR /&gt;
    ... | lookup table field1 OUTPUT newfield | lookup table field2 OUTPUTNEW newfield&lt;BR /&gt;
is (in fast mode) "optimized" to&lt;BR /&gt;
    ... | lookup table field2 OUTPUTNEW newfield&lt;/P&gt;

&lt;P&gt;Just wanted to confirm that your limits.conf entry solves the problem. Thanks for that!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/393599#M114456</guid>
      <dc:creator>drfk</dc:creator>
      <dc:date>2019-06-27T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/568340#M198046</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Similar setup to drfk, with no macro but 2 lookups.&amp;nbsp; Splunk 8.2.2.&amp;nbsp; Verbose mode gave results, but Fast/Smart modes just resulted in 0's.&amp;nbsp; Changing the limits.conf file fixed the problem.&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/568340#M198046</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2021-09-24T07:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/597938#M208214</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/159620"&gt;@marycordova&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have a distributed environment and I put this configuration in every SH at path /splunk/etc/system/local, but doesn't work.&lt;BR /&gt;&lt;BR /&gt;Can someone help me to find out the correct solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank to all.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 12:30:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/597938#M208214</guid>
      <dc:creator>Robertoing</dc:creator>
      <dc:date>2022-05-16T12:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/597991#M208229</link>
      <description>&lt;P&gt;i know this is kind of a lame response but,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231488"&gt;@Robertoing&lt;/a&gt;&amp;nbsp;, are you able to upgrade to version 8?&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 19:29:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/597991#M208229</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2022-05-16T19:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does search in fast mode return different results than verbose mode in Splunk Enterprise 7.0.2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/695970#M236584</link>
      <description>&lt;P&gt;Facing the same issue in Splunk Enterprise version&amp;nbsp; - 8.2.6.1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any fix? workaround? please share !!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 08:15:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-search-in-fast-mode-return-different-results-than/m-p/695970#M236584</guid>
      <dc:creator>rajan_kumar_rai</dc:creator>
      <dc:date>2024-08-12T08:15:30Z</dc:date>
    </item>
  </channel>
</rss>

