<?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: Quick Question: Charting maximum values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83497#M21259</link>
    <description>&lt;P&gt;For the search, you can do "| top limit=0".  On the dashboard side, if you are using simple XML try the showPager option.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2011 22:16:14 GMT</pubDate>
    <dc:creator>hazekamp</dc:creator>
    <dc:date>2011-04-18T22:16:14Z</dc:date>
    <item>
      <title>Quick Question: Charting maximum values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83494#M21256</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;option&lt;BR /&gt;
name="charting.data.count"&amp;gt;3&amp;lt;/option&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;option&lt;BR /&gt;
name="charting.chart"&amp;gt;bar&amp;lt;/option&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The lines above graphs a bar chart with values from the first 3 rows. How can I instead graph the highest 3 values? In addition, how can I scale the axis such that it is normalized with respect to the maximum value?&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2011 20:53:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83494#M21256</guid>
      <dc:creator>wyang6</dc:creator>
      <dc:date>2011-04-18T20:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Charting maximum values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83495#M21257</link>
      <description>&lt;P&gt;To graph the 3 highest values you can limit your search results to the 3 highest values.  Depending on your search limits can be done in a few different methods.&lt;/P&gt;

&lt;P&gt;For a single count field (i.e. when using stats):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| top limit=3 foo
| stats count by foo | sort 3 - &amp;lt;count_field&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For mult-dimensional count fieds (i.e. when using chart):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| addtotals | sort 3 - Total
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For first 'n' results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| head 3
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Apr 2011 21:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83495#M21257</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-04-18T21:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Charting maximum values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83496#M21258</link>
      <description>&lt;P&gt;Thanks. If I also want a table with all the rows displayed, how can I get around&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;top limit=n&lt;/CODE&gt;&lt;BR /&gt;
OR &lt;BR /&gt;
&lt;CODE&gt;head n&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2011 21:34:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83496#M21258</guid>
      <dc:creator>wyang6</dc:creator>
      <dc:date>2011-04-18T21:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Charting maximum values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83497#M21259</link>
      <description>&lt;P&gt;For the search, you can do "| top limit=0".  On the dashboard side, if you are using simple XML try the showPager option.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2011 22:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Quick-Question-Charting-maximum-values/m-p/83497#M21259</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-04-18T22:16:14Z</dc:date>
    </item>
  </channel>
</rss>

