<?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: append and max results (50000) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76318#M19286</link>
    <description>&lt;P&gt;I think you're hitting the hard limit in limits.conf for a join.  I don't think there is a way around this without modifying the conf files.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[join]
subsearch_maxout = 50000
subsearch_maxtime = 60
subsearch_timeout = 120
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 15 Sep 2011 17:39:47 GMT</pubDate>
    <dc:creator>bbingham</dc:creator>
    <dc:date>2011-09-15T17:39:47Z</dc:date>
    <item>
      <title>append and max results (50000)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76317#M19285</link>
      <description>&lt;P&gt;i'm trying to merge results from two searches to join various values from the search field.&lt;/P&gt;

&lt;P&gt;i see that the latter search is stuck at 50000 results, whatever or not i append maxout=500000 and maxtime=86400 .&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest="-w@w+1d" latest="-d@w-1d"  foo | append maxtime=14400 maxout=5000000 [search earliest="-w@w+1d" bar ].
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i'm still getting 50000 results only from the bar search.&lt;BR /&gt;
any clues?&lt;BR /&gt;
i'd prefer not to modify conf files.&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76317#M19285</guid>
      <dc:creator>johnnymc</dc:creator>
      <dc:date>2011-09-15T12:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: append and max results (50000)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76318#M19286</link>
      <description>&lt;P&gt;I think you're hitting the hard limit in limits.conf for a join.  I don't think there is a way around this without modifying the conf files.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[join]
subsearch_maxout = 50000
subsearch_maxtime = 60
subsearch_timeout = 120
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Sep 2011 17:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76318#M19286</guid>
      <dc:creator>bbingham</dc:creator>
      <dc:date>2011-09-15T17:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: append and max results (50000)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76319#M19287</link>
      <description>&lt;P&gt;nope. modfying join doesn't work.&lt;BR /&gt;
it seems it has something to do with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[searchresults]
* This stanza controls search results for a variety of Splunk search commands.

maxresultrows = &amp;lt;integer&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Sep 2011 09:43:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76319#M19287</guid>
      <dc:creator>johnnymc</dc:creator>
      <dc:date>2011-09-27T09:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: append and max results (50000)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76320#M19288</link>
      <description>&lt;P&gt;For the append command, you have 2 setting that controls the limit.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;the hard limit in limits.conf&lt;BR /&gt;
[searchresults]&lt;BR /&gt;
maxresultrows = 50000&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;the soft limit maxout parameter in the append (default to 50000 too)&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3/SearchReference/Append"&gt;http://docs.splunk.com/Documentation/Splunk/4.3/SearchReference/Append&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;You can use maxout to reduce the number of results to append but not to go above the maxresultrows limit.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[searchresults] maxresultrows = 50000&lt;BR /&gt;
and &lt;BR /&gt;
index=* | head 100 | append maxout=10000 [ search index=* ]&lt;BR /&gt;
will return 10100 events&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[searchresults] maxresultrows = 50000&lt;BR /&gt;
and &lt;BR /&gt;
index=* | head 100 | append maxout=100000000000 [ search index=* ]&lt;BR /&gt;
will return only 50100 events.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 09:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/append-and-max-results-50000/m-p/76320#M19288</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-03-01T09:35:32Z</dc:date>
    </item>
  </channel>
</rss>

