<?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: Sort by event count in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-by-event-count/m-p/575549#M47189</link>
    <description>&lt;P&gt;Counting and ordering are different operations.&amp;nbsp; Once you have the count, put the results in order using the &lt;FONT face="courier new,courier"&gt;sort&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;query&amp;gt;index="wineventlog" $Site_Token$ $Cmptr_Token$ $Type$ LogName="Security" Type=Information | stats count by Event | sort 0 - count&amp;lt;/query&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 18 Nov 2021 20:57:33 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-11-18T20:57:33Z</dc:date>
    <item>
      <title>Sort by event count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-by-event-count/m-p/575540#M47188</link>
      <description>&lt;P&gt;I have panel on a dashboard that lists events in a security log.&amp;nbsp; I can list them by Event ID but I would like it listed by Event ID count so that the most frequent are at the top.&amp;nbsp; If I change "count by Event" to "count by count" I get an error "The output field 'count ' cannot have the same name as a group by field."&lt;/P&gt;&lt;P&gt;&amp;lt;query&amp;gt;index="wineventlog" $Site_Token$ $Cmptr_Token$ $Type$ LogName="Security" Type=Information | stats count by Event&amp;lt;/query&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;How do I get it to list them in descending order by count?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 20:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-by-event-count/m-p/575540#M47188</guid>
      <dc:creator>rockb</dc:creator>
      <dc:date>2021-11-18T20:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by event count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-by-event-count/m-p/575549#M47189</link>
      <description>&lt;P&gt;Counting and ordering are different operations.&amp;nbsp; Once you have the count, put the results in order using the &lt;FONT face="courier new,courier"&gt;sort&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;query&amp;gt;index="wineventlog" $Site_Token$ $Cmptr_Token$ $Type$ LogName="Security" Type=Information | stats count by Event | sort 0 - count&amp;lt;/query&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Nov 2021 20:57:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Sort-by-event-count/m-p/575549#M47189</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-18T20:57:33Z</dc:date>
    </item>
  </channel>
</rss>

