<?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 How to Get required  top users where I am sorting timechart by user in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88788#M22725</link>
    <description>&lt;P&gt;I am showing a timechart by users. I want to show top 10 users on the graph having some particular condition. How to achieve that?? &lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2011 08:53:50 GMT</pubDate>
    <dc:creator>tkadale</dc:creator>
    <dc:date>2011-04-26T08:53:50Z</dc:date>
    <item>
      <title>How to Get required  top users where I am sorting timechart by user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88788#M22725</link>
      <description>&lt;P&gt;I am showing a timechart by users. I want to show top 10 users on the graph having some particular condition. How to achieve that?? &lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 08:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88788#M22725</guid>
      <dc:creator>tkadale</dc:creator>
      <dc:date>2011-04-26T08:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get required  top users where I am sorting timechart by user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88789#M22726</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;i think head will resolve your question : &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Head"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/Head&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;mysearchquery | head 10 &lt;/P&gt;

&lt;P&gt;christian &lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 14:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88789#M22726</guid>
      <dc:creator>Christian</dc:creator>
      <dc:date>2011-04-26T14:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get required  top users where I am sorting timechart by user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88790#M22727</link>
      <description>&lt;P&gt;Well what's your particular condition? &lt;/P&gt;

&lt;P&gt;The idea is to use the search language before the timechart clause, to filter the set of users down to whatever it is you want,  and then pipe those filtered results to &lt;CODE&gt;timechart count by user&lt;/CODE&gt;.   You might use searchterms using the =, &amp;lt; or &amp;gt; operators,  you might have a parenthetic clause like &lt;CODE&gt;(foo OR bar OR baz)&lt;/CODE&gt;,  or some NOT terms like &lt;CODE&gt;NOT status=304&lt;/CODE&gt;,  you can pipe to the &lt;CODE&gt;eval&lt;/CODE&gt; or &lt;CODE&gt;rex&lt;/CODE&gt; commands to do fancier things, then you filter again with another &lt;CODE&gt;search&lt;/CODE&gt; clause or a &lt;CODE&gt;where&lt;/CODE&gt; clause, etc.  The sky's the limit. &lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 16:35:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88790#M22727</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-04-26T16:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get required  top users where I am sorting timechart by user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88791#M22728</link>
      <description>&lt;P&gt;Just to chime in with the others, I do something akin to what you do with the following:&lt;/P&gt;

&lt;PRE&gt;
&amp;lt;various search commands&amp;gt; | stats count by Username | sort limit=10 -count
&lt;/PRE&gt;

&lt;P&gt;I have a field which is recognised as Username and have found this gets me the result I want best.  Not quite a timechart, but, easy enough to modify to get that.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 21:17:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88791#M22728</guid>
      <dc:creator>howyagoin</dc:creator>
      <dc:date>2011-04-26T21:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get required  top users where I am sorting timechart by user</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88792#M22729</link>
      <description>&lt;P&gt;just to make this all complete watch also for the top command (&lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/top"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/top&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Get-required-top-users-where-I-am-sorting-timechart-by/m-p/88792#M22729</guid>
      <dc:creator>Christian</dc:creator>
      <dc:date>2011-04-27T08:13:39Z</dc:date>
    </item>
  </channel>
</rss>

