<?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: Top 10 event counts per day in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Top-10-event-counts-per-day/m-p/18866#M2800</link>
    <description>&lt;P&gt;example with an eval to calculate the difference, and sort the hosts&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
mysearchthatcalculatesall | stats max(event) AS current avg(average_number_of_events) AS average by host date_mday&lt;BR /&gt;
| eval outlier_count=current-average | where outlier&amp;gt;0 &lt;BR /&gt;
| sort -outlier  | head 10&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:01:43 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2020-09-28T13:01:43Z</dc:date>
    <item>
      <title>Top 10 event counts per day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-10-event-counts-per-day/m-p/18865#M2799</link>
      <description>&lt;P&gt;I have a search that gives me the event counts for each host every hour and compares that count against a running average of event counts for each host. When a host has a higher event count than the average for that hour it is marked as an outlier. I want to table the top 10 outliers based on the difference between the event count at that hour and the running average for each day.&lt;/P&gt;

&lt;P&gt;So I'll have 10 hosts for Monday, Tuesday, Wednesday, etc. Is something like this possible? I have the difference already in my data set.&lt;/P&gt;

&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 20:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-10-event-counts-per-day/m-p/18865#M2799</guid>
      <dc:creator>Volto</dc:creator>
      <dc:date>2012-07-26T20:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 event counts per day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Top-10-event-counts-per-day/m-p/18866#M2800</link>
      <description>&lt;P&gt;example with an eval to calculate the difference, and sort the hosts&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
mysearchthatcalculatesall | stats max(event) AS current avg(average_number_of_events) AS average by host date_mday&lt;BR /&gt;
| eval outlier_count=current-average | where outlier&amp;gt;0 &lt;BR /&gt;
| sort -outlier  | head 10&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Top-10-event-counts-per-day/m-p/18866#M2800</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T13:01:43Z</dc:date>
    </item>
  </channel>
</rss>

