<?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: How to display an event count deviation? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307850#M19652</link>
    <description>&lt;P&gt;I will be comparing daily.  &lt;/P&gt;</description>
    <pubDate>Mon, 02 Apr 2018 15:37:43 GMT</pubDate>
    <dc:creator>matthew_foos</dc:creator>
    <dc:date>2018-04-02T15:37:43Z</dc:date>
    <item>
      <title>How to display an event count deviation?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307848#M19650</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I've been tasked with building a standard deviation alert / dashboard / report by using the total count of events over 7 days.  I've tried the following search with no success:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=* which gives me a totalCount of events for my hosts.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm trying to figure out how to display any deviation that is +/- 10% and alert on this.&lt;/P&gt;

&lt;P&gt;I'm happy to provide further information.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 18:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307848#M19650</guid>
      <dc:creator>matthew_foos</dc:creator>
      <dc:date>2018-03-29T18:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to display an event count deviation?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307849#M19651</link>
      <description>&lt;P&gt;a deviation over what time frame?  You said 7 days for the total count but are you comparing daily? hourly?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 18:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307849#M19651</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-03-29T18:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to display an event count deviation?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307850#M19652</link>
      <description>&lt;P&gt;I will be comparing daily.  &lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 15:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307850#M19652</guid>
      <dc:creator>matthew_foos</dc:creator>
      <dc:date>2018-04-02T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to display an event count deviation?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307851#M19653</link>
      <description>&lt;P&gt;okay try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search 
| bucket _time span=1d
| stats count BY _time countedfield
| eventstats stdev(count) as stdev BY countedfield
| eval stdevincrease = (stdev*1.1)
| where count &amp;gt; stdevincrease AND _time &amp;gt; now()-(24*60*60)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Set your earliest to be 7 days and your latest to be now.&lt;BR /&gt;
Your buckets are 1 day time spans&lt;BR /&gt;
the eventstats will do the standard deviation over the 7 days then the where clause only looks at the last day&lt;BR /&gt;
So you can set your alert to trigger on anything greater than 0 &lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 12:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-an-event-count-deviation/m-p/307851#M19653</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-04-03T12:32:20Z</dc:date>
    </item>
  </channel>
</rss>

