<?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 Increasing rows returned from STAT \ CHART queries in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86188#M21977</link>
    <description>&lt;P&gt;When I run a CHART or STAT query, and the query returns more than 50 rows the output is truncated with the following:-&lt;/P&gt;

&lt;P&gt;[and xx more values]&lt;/P&gt;

&lt;P&gt;Is there anyway to increase the number of rows returned?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2013 16:05:10 GMT</pubDate>
    <dc:creator>apackard</dc:creator>
    <dc:date>2013-07-05T16:05:10Z</dc:date>
    <item>
      <title>Increasing rows returned from STAT \ CHART queries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86188#M21977</link>
      <description>&lt;P&gt;When I run a CHART or STAT query, and the query returns more than 50 rows the output is truncated with the following:-&lt;/P&gt;

&lt;P&gt;[and xx more values]&lt;/P&gt;

&lt;P&gt;Is there anyway to increase the number of rows returned?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 16:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86188#M21977</guid>
      <dc:creator>apackard</dc:creator>
      <dc:date>2013-07-05T16:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing rows returned from STAT \ CHART queries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86189#M21978</link>
      <description>&lt;P&gt;This is a common mistake.  You're running searches like &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;stats values(foo)&lt;/CODE&gt;   &lt;/P&gt;

&lt;P&gt;when you should be running &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;stats count by foo&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;instead.  The former will return just one row, with "values(foo)" as a multivalue field. However it is designed for situations when there are only a few values, so it truncates at 50.   The latter on the other hand will display any number of rows - hundreds, thousands, millions, and never truncate. &lt;/P&gt;

&lt;P&gt;Similarly,  if you find yourself doing  &lt;CODE&gt;stats values(foo) by bar&lt;/CODE&gt;,   intending to get unique combinations of foo with bar,   just do &lt;CODE&gt;stats count by foo bar&lt;/CODE&gt;.   &lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 18:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86189#M21978</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-07-05T18:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing rows returned from STAT \ CHART queries</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86190#M21979</link>
      <description>&lt;P&gt;You could also just do &lt;CODE&gt;top 0 foo bar&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2013 19:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increasing-rows-returned-from-STAT-CHART-queries/m-p/86190#M21979</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-07-05T19:33:37Z</dc:date>
    </item>
  </channel>
</rss>

