<?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 Worst X in timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96901#M25057</link>
    <description>&lt;P&gt;When you have a timechart, by default you get the largest 10 values, then everything else bucketed into OTHER.&lt;/P&gt;

&lt;P&gt;Can anyone think of an effective way to get the smallest 10 (or X) in a timechart?  &lt;/P&gt;

&lt;P&gt;What I have is KBps, and I want to find the values that have the worst performance over time.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2010 08:17:21 GMT</pubDate>
    <dc:creator>vbumgarner</dc:creator>
    <dc:date>2010-12-01T08:17:21Z</dc:date>
    <item>
      <title>Worst X in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96901#M25057</link>
      <description>&lt;P&gt;When you have a timechart, by default you get the largest 10 values, then everything else bucketed into OTHER.&lt;/P&gt;

&lt;P&gt;Can anyone think of an effective way to get the smallest 10 (or X) in a timechart?  &lt;/P&gt;

&lt;P&gt;What I have is KBps, and I want to find the values that have the worst performance over time.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2010 08:17:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96901#M25057</guid>
      <dc:creator>vbumgarner</dc:creator>
      <dc:date>2010-12-01T08:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Worst X in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96902#M25058</link>
      <description>&lt;P&gt;If you disable &lt;EM&gt;OTHER&lt;/EM&gt; does that have the desired effect?  Something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart useother=false limit=10 min(KBps) by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96902#M25058</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2010-12-01T09:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Worst X in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96903#M25059</link>
      <description>&lt;P&gt;I believe that would show the 10 largest minimums.&lt;/P&gt;

&lt;P&gt;I thought of a hacky double search way...&lt;/P&gt;

&lt;P&gt;sourcetype=foo [search sourcetype=foo | stats avg(KBps) as avg by host | sort -avg | head 10 | fields + host] | timechart avg(KBps) by host&lt;/P&gt;

&lt;P&gt;but I was hoping for something more elegant.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96903#M25059</guid>
      <dc:creator>vbumgarner</dc:creator>
      <dc:date>2010-12-01T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Worst X in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96904#M25060</link>
      <description>&lt;P&gt;Sure.  The answer to this question takes you back to the old clunky syntax for changing how many split-by values would be shown.   The old syntax to change from 10 hosts to 50 hosts was: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | timechart count by host where sum in top50
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this was of course later streamlined to : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | timechart count by host limit=50
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the old verbose syntax still works, and indeed can can do "bottom50": &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | timechart count by host where sum in bottom50
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 May 2011 23:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Worst-X-in-timechart/m-p/96904#M25060</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-05-06T23:11:25Z</dc:date>
    </item>
  </channel>
</rss>

