<?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: show table results in descending count order in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190822#M54927</link>
    <description>&lt;P&gt;Maybe &lt;CODE&gt;' ... | sort - "Number of days Logged in"'&lt;/CODE&gt; ?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2014 13:17:17 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2014-03-17T13:17:17Z</dc:date>
    <item>
      <title>show table results in descending count order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190821#M54926</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm thinking this has a simple solution..Is there anyway to show a table in descending order by count?  Currently it always goes alphabetically.&lt;/P&gt;

&lt;P&gt;Now:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Anthony        6
Brian          8
Michael        4
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to see:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Brian          8
Anthony        6
Michael        4
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The way I'm currently outputting this is `&lt;MYSEARCH&gt; | stats count by login_name, year_day | stats count AS "Number of days Logged in" by login_name&lt;/MYSEARCH&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:09:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190821#M54926</guid>
      <dc:creator>bcusick</dc:creator>
      <dc:date>2020-09-28T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: show table results in descending count order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190822#M54927</link>
      <description>&lt;P&gt;Maybe &lt;CODE&gt;' ... | sort - "Number of days Logged in"'&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 13:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190822#M54927</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-03-17T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: show table results in descending count order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190823#M54928</link>
      <description>&lt;P&gt;BeautifuL! Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 13:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190823#M54928</guid>
      <dc:creator>bcusick</dc:creator>
      <dc:date>2014-03-17T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: show table results in descending count order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190824#M54929</link>
      <description>&lt;P&gt;I downvoted this post because does not work on datasets larger than 10000 rows&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 18:11:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190824#M54929</guid>
      <dc:creator>w531t4</dc:creator>
      <dc:date>2016-11-28T18:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: show table results in descending count order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190825#M54930</link>
      <description>&lt;P&gt;use the below one, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| sort 0 - "Number of days Logged in"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;while using sort you can mention the limitation, zero means there will not be any limits applied. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 18:32:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190825#M54930</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2016-11-28T18:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: show table results in descending count order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190826#M54931</link>
      <description>&lt;P&gt;Add &lt;CODE&gt;limit=0&lt;/CODE&gt; to remove the limitation to 10,000 rows&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 22:55:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-table-results-in-descending-count-order/m-p/190826#M54931</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2017-02-15T22:55:35Z</dc:date>
    </item>
  </channel>
</rss>

