<?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: lower and upper threshold deviation in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604636#M210300</link>
    <description>&lt;P&gt;How would I implement that in what I do have, please? So this is what I have:&lt;/P&gt;&lt;P&gt;index=X&amp;nbsp; sourcetype=Y source=metrics.kv_log appln_name IN ("FEED_FILE_ROUTE", "FEED_INGEST_ROUTE") this_hour="*"&lt;/P&gt;&lt;P&gt;| bin span=1h _time&lt;/P&gt;&lt;P&gt;| stats latest(this-hour) AS Volume BY appln_name, _time&lt;/P&gt;&lt;P&gt;| eval day_of_week=strftime(_time,"%A"), hour=strftime(_time,"%H")&lt;/P&gt;&lt;P&gt;|lookup mt_expected_processed_volume.csv name as appln_name, day_of_week, hour&lt;/P&gt;&lt;P&gt;outputnew avg_volume, stdev_volume&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 17:38:27 GMT</pubDate>
    <dc:creator>majilan1</dc:creator>
    <dc:date>2022-07-06T17:38:27Z</dc:date>
    <item>
      <title>How to set lower and upper threshold deviation?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604606#M210289</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;
&lt;P&gt;This may be easy, but I'm not able to solve it if anyone can help.&lt;/P&gt;
&lt;P&gt;I want to set a lower threshold to 15 standard deviation below the mean, and the upper threshold to 15 standard deviation above the mean, but I'm not sure how to implement that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 14:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604606#M210289</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2022-07-07T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: lower and upper threshold deviation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604610#M210291</link>
      <description>&lt;P&gt;The general idea is to use the &lt;FONT face="courier new,courier"&gt;eventstats&lt;/FONT&gt; command to compute the standard deviation then use &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; to calculate the lower and upper thresholds.&amp;nbsp; Like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eventstats stdev(foo) as stdev, avg(foo) as avg
| eval lower=avg - stdev*15, upper=avg+stdev*15
| where (foo &amp;lt; lower OR foo &amp;gt; upper)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604610#M210291</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-06T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: lower and upper threshold deviation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604636#M210300</link>
      <description>&lt;P&gt;How would I implement that in what I do have, please? So this is what I have:&lt;/P&gt;&lt;P&gt;index=X&amp;nbsp; sourcetype=Y source=metrics.kv_log appln_name IN ("FEED_FILE_ROUTE", "FEED_INGEST_ROUTE") this_hour="*"&lt;/P&gt;&lt;P&gt;| bin span=1h _time&lt;/P&gt;&lt;P&gt;| stats latest(this-hour) AS Volume BY appln_name, _time&lt;/P&gt;&lt;P&gt;| eval day_of_week=strftime(_time,"%A"), hour=strftime(_time,"%H")&lt;/P&gt;&lt;P&gt;|lookup mt_expected_processed_volume.csv name as appln_name, day_of_week, hour&lt;/P&gt;&lt;P&gt;outputnew avg_volume, stdev_volume&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 17:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-lower-and-upper-threshold-deviation/m-p/604636#M210300</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2022-07-06T17:38:27Z</dc:date>
    </item>
  </channel>
</rss>

