<?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 Limited rows returned Splunk CLI for a table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449409#M172380</link>
    <description>&lt;P&gt;First, yes, we are using "-maxout 0"&lt;BR /&gt;
For some reason, on one of our hosts, when we run a particular query that pipes into a table, it only returns around ~3000 rows depending on the 24 hour period we are searching for.&lt;BR /&gt;
Here are some of the unusual things we've noticed:&lt;BR /&gt;
(1) Its not a resource issue. We have upgraded the host to 32 GB memory and 12 cores.&lt;BR /&gt;
(2) If we run the query and just have it return raw events, it works as expected.&lt;BR /&gt;
(3) The query works on another host in our cluster as expected so query is good.&lt;BR /&gt;
(4) If we run for a window that is 3 hours or LESS it will return the number of rows as expected. 4 hours or more and it returns only around 3000 rows.&lt;BR /&gt;
(5) I did notice that around 3 hours, it returns just under 1 million rows. Im wondering if there is a 1 million rows limit for tables in the CLI.&lt;BR /&gt;
(6) This runs as expected in the Splunk web GUI.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 15:15:28 GMT</pubDate>
    <dc:creator>EricLloyd79</dc:creator>
    <dc:date>2019-03-19T15:15:28Z</dc:date>
    <item>
      <title>Limited rows returned Splunk CLI for a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449409#M172380</link>
      <description>&lt;P&gt;First, yes, we are using "-maxout 0"&lt;BR /&gt;
For some reason, on one of our hosts, when we run a particular query that pipes into a table, it only returns around ~3000 rows depending on the 24 hour period we are searching for.&lt;BR /&gt;
Here are some of the unusual things we've noticed:&lt;BR /&gt;
(1) Its not a resource issue. We have upgraded the host to 32 GB memory and 12 cores.&lt;BR /&gt;
(2) If we run the query and just have it return raw events, it works as expected.&lt;BR /&gt;
(3) The query works on another host in our cluster as expected so query is good.&lt;BR /&gt;
(4) If we run for a window that is 3 hours or LESS it will return the number of rows as expected. 4 hours or more and it returns only around 3000 rows.&lt;BR /&gt;
(5) I did notice that around 3 hours, it returns just under 1 million rows. Im wondering if there is a 1 million rows limit for tables in the CLI.&lt;BR /&gt;
(6) This runs as expected in the Splunk web GUI.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 15:15:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449409#M172380</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2019-03-19T15:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Limited rows returned Splunk CLI for a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449410#M172381</link>
      <description>&lt;P&gt;Can you share the query?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 15:50:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449410#M172381</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-03-19T15:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limited rows returned Splunk CLI for a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449411#M172382</link>
      <description>&lt;P&gt;Sure.&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk search 'sourcetype=xyz url=/foo/bar.jsp kpi01 earliest="03/06/2019:00:00:00" latest="03/06/2019:23:59:59" | rex field=_raw "(?:[^=\n]*=){2}(?P[^ ]+)" | eval date=strftime(_time, "%Y%m%d") | table date, mdn, fullItemID | streamstats count as row | fields row *' -maxout 0 &amp;gt;&amp;gt; output15.log&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:46:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449411#M172382</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2020-09-29T23:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Limited rows returned Splunk CLI for a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449412#M172383</link>
      <description>&lt;P&gt;I tried it without the regex and it produced the same ~3000 rows only.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 16:11:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449412#M172383</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2019-03-19T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Limited rows returned Splunk CLI for a table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449413#M172384</link>
      <description>&lt;P&gt;As a side note, when I print results as a table, it gets to about 431207 then halts for a second and then starts over at 1 and goes to about 3000.&lt;/P&gt;

&lt;P&gt;ex:&lt;/P&gt;

&lt;P&gt;431200 20190306 abc       5551212&lt;BR /&gt;
431201 20190306 abc      5551212&lt;BR /&gt;
431202 20190306 abc      5551212&lt;BR /&gt;
431203 20190306 abc       5551212&lt;BR /&gt;
431204 20190306 abc      5551212&lt;BR /&gt;
431205 20190306 abc      5551212&lt;BR /&gt;
431206 20190306 abc      5551212&lt;BR /&gt;
431207 20190306 abc       5551212&lt;BR /&gt;
row    date                             fullItemID                              mdn&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;1 20190306 abc       5551212&lt;BR /&gt;
   2 20190306 abc             5551212&lt;BR /&gt;
   3 20190306 abc           5551212&lt;BR /&gt;
   4 20190306 abc                5551212&lt;BR /&gt;
   5 20190306 abc          5551212&lt;BR /&gt;
   ... &lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 16:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limited-rows-returned-Splunk-CLI-for-a-table/m-p/449413#M172384</guid>
      <dc:creator>EricLloyd79</dc:creator>
      <dc:date>2019-03-19T16:30:39Z</dc:date>
    </item>
  </channel>
</rss>

