<?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 Can we change how limit function behaves in chart command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-we-change-how-limit-function-behaves-in-chart-command/m-p/274189#M82708</link>
    <description>&lt;P&gt;When using &lt;CODE&gt;limit&lt;/CODE&gt; function in &lt;CODE&gt;chart&lt;/CODE&gt; command, Splunk automatically adds columns and filters based on &lt;STRONG&gt;largest&lt;/STRONG&gt; number.  &lt;/P&gt;

&lt;P&gt;Are we able to change to filter based on the &lt;STRONG&gt;SMALLEST&lt;/STRONG&gt; number instead? &lt;/P&gt;

&lt;P&gt;Ex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" | chart count over component by group limit=5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2015 05:03:53 GMT</pubDate>
    <dc:creator>nyplawrencet</dc:creator>
    <dc:date>2015-12-08T05:03:53Z</dc:date>
    <item>
      <title>Can we change how limit function behaves in chart command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-change-how-limit-function-behaves-in-chart-command/m-p/274189#M82708</link>
      <description>&lt;P&gt;When using &lt;CODE&gt;limit&lt;/CODE&gt; function in &lt;CODE&gt;chart&lt;/CODE&gt; command, Splunk automatically adds columns and filters based on &lt;STRONG&gt;largest&lt;/STRONG&gt; number.  &lt;/P&gt;

&lt;P&gt;Are we able to change to filter based on the &lt;STRONG&gt;SMALLEST&lt;/STRONG&gt; number instead? &lt;/P&gt;

&lt;P&gt;Ex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" | chart count over component by group limit=5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 05:03:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-change-how-limit-function-behaves-in-chart-command/m-p/274189#M82708</guid>
      <dc:creator>nyplawrencet</dc:creator>
      <dc:date>2015-12-08T05:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can we change how limit function behaves in chart command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-change-how-limit-function-behaves-in-chart-command/m-p/274190#M82709</link>
      <description>&lt;P&gt;You can't change how &lt;CODE&gt;limit&lt;/CODE&gt; works, but you can do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_internal" 
| stats count by component group 
| sort 5 count
| xyseries component group count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Dec 2015 06:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-change-how-limit-function-behaves-in-chart-command/m-p/274190#M82709</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-12-08T06:05:42Z</dc:date>
    </item>
  </channel>
</rss>

