<?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: map command returns main index even searching _internal only in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/map-command-returns-main-index-even-searching-internal-only/m-p/457791#M6100</link>
    <description>&lt;P&gt;This is a known issue SPL-167869 and SPL-169704 which will be fixed on 7.3.&lt;/P&gt;

&lt;P&gt;Workaround is also available:&lt;/P&gt;

&lt;P&gt;add following stanza in ../etc/system/local/limits.conf on SH and restart should fix this issue:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [search] 
 phased_execution_mode = auto 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After workaround applied:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7052i4611B062B736438D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 11 May 2019 20:19:53 GMT</pubDate>
    <dc:creator>mchang_splunk</dc:creator>
    <dc:date>2019-05-11T20:19:53Z</dc:date>
    <item>
      <title>map command returns main index even searching _internal only</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/map-command-returns-main-index-even-searching-internal-only/m-p/457790#M6099</link>
      <description>&lt;P&gt;I tried to test map command on Splunk 7.1.3 with following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal earliest=-60m | map maxsearches=1 search="search index=_internal  earliest=-6m latest=-1m | head 1"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Theoretically, this search should only return one event from index=_internal.&lt;BR /&gt;
However, lots of events from main index return&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7053iD5920C6BB59BC248/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Is this a bug?&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 20:12:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/map-command-returns-main-index-even-searching-internal-only/m-p/457790#M6099</guid>
      <dc:creator>mchang_splunk</dc:creator>
      <dc:date>2019-05-11T20:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: map command returns main index even searching _internal only</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/map-command-returns-main-index-even-searching-internal-only/m-p/457791#M6100</link>
      <description>&lt;P&gt;This is a known issue SPL-167869 and SPL-169704 which will be fixed on 7.3.&lt;/P&gt;

&lt;P&gt;Workaround is also available:&lt;/P&gt;

&lt;P&gt;add following stanza in ../etc/system/local/limits.conf on SH and restart should fix this issue:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [search] 
 phased_execution_mode = auto 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After workaround applied:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7052i4611B062B736438D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 20:19:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/map-command-returns-main-index-even-searching-internal-only/m-p/457791#M6100</guid>
      <dc:creator>mchang_splunk</dc:creator>
      <dc:date>2019-05-11T20:19:53Z</dc:date>
    </item>
  </channel>
</rss>

