<?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: How to increase subsearch maxout limit? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273686#M82540</link>
    <description>&lt;P&gt;Reviewing similar questions, it's probably &lt;STRONG&gt;maxresultrows&lt;/STRONG&gt;. I'll try. Thank you very much.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 12:24:33 GMT</pubDate>
    <dc:creator>sistemistiposta</dc:creator>
    <dc:date>2015-12-16T12:24:33Z</dc:date>
    <item>
      <title>How to increase subsearch maxout limit?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273684#M82538</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I would like to run a scheduled report once. A very log time search, I don't care about performance or time to complete.&lt;BR /&gt;
I set in local &lt;STRONG&gt;limits.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[subsearch]
# maximum number of results to return from a subsearch
maxout = 100000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the &lt;EM&gt;job inspector&lt;/EM&gt; says:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;INFO: [subsearch]: Subsearch produced 255526 results, truncating to maxout
50000.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why does it say 50000 and not the 100000 configured value?&lt;BR /&gt;
I would like to know how to increase the &lt;EM&gt;maxout&lt;/EM&gt; up to 300000.&lt;/P&gt;

&lt;P&gt;I don't use the &lt;EM&gt;append&lt;/EM&gt; command, so I can't set maxout on the search itself.&lt;/P&gt;

&lt;P&gt;Just for info, my search is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=*myhosts [search host=myhost KLMS av_status=Clean as_status=Clean | table message_id] | eval message_id=mvindex(split(message_id,"@"),0)."@".lower(mvindex(split(message_id,"@"),-1)) | transaction message_id | search status="Blocked INFECTED" | rename av_status as Kas | rename status as Am | table _time,from,to,Kas,Am
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Job inspector seems to say the limit occurs in [subsearch]. I don't have a distributed environment. I have to run it for a 30 day interval.&lt;/P&gt;

&lt;P&gt;Thank you very much&lt;BR /&gt;
Best Regards&lt;BR /&gt;
Marco&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:28:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273684#M82538</guid>
      <dc:creator>sistemistiposta</dc:creator>
      <dc:date>2015-12-16T11:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase subsearch maxout limit?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273685#M82539</link>
      <description>&lt;P&gt;We need your full search string not just partial.  &lt;/P&gt;

&lt;P&gt;Many commands limit to 50k and we'd love to show you the exact one.&lt;/P&gt;

&lt;P&gt;Please read limits.conf documentation in full and see if your question is answered.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/admin/Limitsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/admin/Limitsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Search that page for 50000 and I'm sure you'll find your answer.&lt;/P&gt;

&lt;P&gt;Also, you may want to insure your limits.conf is on all your servers, not just the search heads:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#    limits.conf settings and DISTRIBUTED SEARCH
#   Unlike most settings which affect searches, limits.conf settings are not
#   provided by the search head to be used by the search peers.  This means that if
#   you need to alter search-affecting limits in a distributed environment, **typically
#   you will need to modify these settings on the relevant peers** and search head for
#   consistent results.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273685#M82539</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2015-12-16T11:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase subsearch maxout limit?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273686#M82540</link>
      <description>&lt;P&gt;Reviewing similar questions, it's probably &lt;STRONG&gt;maxresultrows&lt;/STRONG&gt;. I'll try. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 12:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273686#M82540</guid>
      <dc:creator>sistemistiposta</dc:creator>
      <dc:date>2015-12-16T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase subsearch maxout limit?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273687#M82541</link>
      <description>&lt;P&gt;This doesn't necessarily answer your question but I'm having trouble understanding your need to have the subsearch in the first place. The subsearch is getting the messsage_ids for systems with the status fields of clean. As written I don't see why you couldn't just do &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=*myhosts KLMS av_status=clean as_status=clean | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Of course there could be elements of the search you are leaving out which is fine. &lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 12:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273687#M82541</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2015-12-16T12:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase subsearch maxout limit?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273688#M82542</link>
      <description>&lt;P&gt;Hello, in the event where I have *_status, there isn't status. I could perform a single search with status and *_status, but I don't know if it is faster. Thank you very much for this hint.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:07:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-subsearch-maxout-limit/m-p/273688#M82542</guid>
      <dc:creator>sistemistiposta</dc:creator>
      <dc:date>2020-09-29T08:07:59Z</dc:date>
    </item>
  </channel>
</rss>

