<?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: Outlier Dip Trough Detection in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550223#M156135</link>
    <description>&lt;P&gt;Yes, I am fitting the data without outliers.&lt;/P&gt;&lt;P&gt;Initially I was using &lt;EM&gt;time slice buckets&lt;/EM&gt; then &lt;STRONG&gt;fit&lt;/STRONG&gt; with the &lt;STRONG&gt;by&lt;/STRONG&gt; clause. This produced a range for each minute (I think), so the range kept changing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-03 at 9.55.38 pm.png" style="width: 745px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14017i081B002F4A5E6D4D/image-dimensions/745x205?v=v2" width="745" height="205" role="button" title="Screen Shot 2021-05-03 at 9.55.38 pm.png" alt="Screen Shot 2021-05-03 at 9.55.38 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| eval date_minutebin=strftime(_time, "%M")
| eval date_hour=strftime(_time, "%H")
| eval date_wday=strftime(_time, "%A")
| fit DensityFunction 1/1/g1 by "date_minutebin,date_hour,date_wday" into df_model threshold=0.05 dist=norm&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this specific case it was probably not needed, since I needed to look for outliers when the &lt;EM&gt;overall bandwidth was reduced (ie. high/low range for the whole data set)&lt;/EM&gt;.&amp;nbsp; Hopefully this makes sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As per your example if I kept it simple &lt;U&gt;without&lt;/U&gt; the &lt;STRONG&gt;by&lt;/STRONG&gt; clause, I get the desired result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-03 at 9.40.57 pm.png" style="width: 776px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14016i305697B16AF1F855/image-dimensions/776x196?v=v2" width="776" height="196" role="button" title="Screen Shot 2021-05-03 at 9.40.57 pm.png" alt="Screen Shot 2021-05-03 at 9.40.57 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| fit DensityFunction 1/1/g1 into df_model dist=norm&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For completeness - in my other data sets running the same fit parameters, is it possible to set&amp;nbsp;lowerBound/lcl to zero since bandwidth cannot be a negative number?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-03 at 10.04.11 pm.png" style="width: 776px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14018iBB78550EF50FAAF5/image-dimensions/776x194?v=v2" width="776" height="194" role="button" title="Screen Shot 2021-05-03 at 10.04.11 pm.png" alt="Screen Shot 2021-05-03 at 10.04.11 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for explaining how to create the test data. I found that really neat!&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 12:37:43 GMT</pubDate>
    <dc:creator>pjohnson1</dc:creator>
    <dc:date>2021-05-03T12:37:43Z</dc:date>
    <item>
      <title>Outlier Dip Trough Detection</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/549733#M156006</link>
      <description>&lt;P&gt;I am working on time series data and would like to detect these type of &lt;STRONG&gt;trough's&lt;/STRONG&gt; in the graphs.&amp;nbsp; &amp;nbsp;The y axis is network bandwidth and minimum value is 0.&lt;/P&gt;&lt;P&gt;I'm applying the base query time series to a DensityProbability model then with the following SPL for the Outlier chart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval leftRange=mvindex(BoundaryRanges,0)
| eval rightRange=mvindex(BoundaryRanges,1)
| rex field=leftRange "Infinity:(?&amp;lt;lowerBound&amp;gt;[^:]*):"
| rex field=rightRange "(?&amp;lt;upperBound&amp;gt;[^:]*):Infinity"
| fields _time, 1/1/g1, lowerBound, upperBound, "IsOutlier(1/1/g1)", *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-04-29 at 12.52.31 pm.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13968iCC7617E92B8356A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-04-29 at 12.52.31 pm.png" alt="Screen Shot 2021-04-29 at 12.52.31 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What approach can I take to detect the significant dip in the graph?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 05:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/549733#M156006</guid>
      <dc:creator>pjohnson1</dc:creator>
      <dc:date>2021-04-29T05:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Dip Trough Detection</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550122#M156111</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/78312"&gt;@pjohnson1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you fitting your model using stable data without outliers?&lt;/P&gt;&lt;P&gt;Here's an example you can recreate without data:&lt;/P&gt;&lt;P&gt;First, let's a define two macros to generate a bit of Gaussian noise:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;# macros.conf

[norminv(3)]
args = p,u,s
definition = "exact($u$ + $s$ * if($p$ &amp;lt; 0.5, -1 * (sqrt(-2.0 * ln($p$)) - ((0.010328 * sqrt(-2.0 * ln($p$)) + 0.802853) * sqrt(-2.0 * ln($p$)) + 2.515517) / (((0.001308 * sqrt(-2.0 * ln($p$)) + 0.189269) * sqrt(-2.0 * ln($p$)) + 1.432788) * sqrt(-2.0 * ln($p$)) + 1.0)), (sqrt(-2.0 * ln(1 - $p$)) - ((0.010328 * sqrt(-2.0 * ln(1 - $p$)) + 0.802853) * sqrt(-2.0 * ln(1 - $p$)) + 2.515517) / (((0.001308 * sqrt(-2.0 * ln(1 - $p$)) + 0.189269) * sqrt(-2.0 * ln(1 - $p$)) + 1.432788) * sqrt(-2.0 * ln(1 - $p$)) + 1.0))))"
iseval = 1

[rand]
definition = "random()/2147483647"
iseval = 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;norminv(3) is similar to the Excel, Matlab, et al. norminv function and returns the inverse of the normal cumulative distribution function with a probability of &lt;EM&gt;p&lt;/EM&gt;, a mean of &lt;EM&gt;u&lt;/EM&gt;, and standard deviation of &lt;EM&gt;s&lt;/EM&gt;.&amp;nbsp;&lt;EM&gt;p&lt;/EM&gt; must be greater than 0 and less than 1. The estimator is taken from&amp;nbsp;&lt;EM&gt;Abramowitz and Stegun&lt;/EM&gt;. More precise estimators can be taken from e.g. Odeh and Evans, but this is fine for toys like this.&lt;/P&gt;&lt;P&gt;rand() generates a random number between 0 and 1 using the known range of Splunk's random() function.&lt;/P&gt;&lt;P&gt;Next, let's generate some training data and fit it to a model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| gentimes start=04/30/2021:00:00:00 end=05/01/2021:00:00:00 increment=1m 
| eval _time=starttime 
| fields + _time 
| eval x=`norminv("`rand()`*(0.9999999999999999-0.0000000000000001)+0.0000000000000001", 0.25, 0.05)`
| fit DensityFunction x into simple_gaussian_model&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can review the model parameters with the summary command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| summary simple_gaussian_model&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" width="512" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64" height="20"&gt;type&lt;/TD&gt;&lt;TD width="64"&gt;min&lt;/TD&gt;&lt;TD width="64"&gt;max&lt;/TD&gt;&lt;TD width="64"&gt;mean&lt;/TD&gt;&lt;TD width="64"&gt;std&lt;/TD&gt;&lt;TD width="64"&gt;cardinality&lt;/TD&gt;&lt;TD width="64"&gt;distance&lt;/TD&gt;&lt;TD width="64"&gt;other&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Auto: Gaussian KDE&lt;/TD&gt;&lt;TD&gt;0.106517&lt;/TD&gt;&lt;TD&gt;0.386431&lt;/TD&gt;&lt;TD&gt;0.251574&lt;/TD&gt;&lt;TD&gt;0.042535&lt;/TD&gt;&lt;TD&gt;1440&lt;/TD&gt;&lt;TD&gt;metric: wasserstein, distance: 0.0010866394106055493&lt;/TD&gt;&lt;TD&gt;bandwidth: 0.009932847538368504, parameter size: 1440&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Very close to our original mean of 0.25 and standard deviation of 0.05!&lt;/P&gt;&lt;P&gt;Finally, let's generate some test data and apply the model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| gentimes start=05/01/2021:00:00:00 end=05/01/2021:09:00:00 increment=1m 
| eval _time=starttime 
| fields + _time 
| eval x=`norminv("`rand()`*(0.9999999999999999-0.0000000000000001)+0.0000000000000001", 0.25, 0.05)` 
| append 
    [| gentimes start=05/01/2021:09:00:00 end=05/01/2021:11:00:00 increment=1m 
    | eval _time=starttime 
    | fields + _time 
    | eval x=`norminv("`rand()`*(0.9999999999999999-0.0000000000000001)+0.0000000000000001", 0.01, 0.005)`] 
| append 
    [| gentimes start=05/01/2021:11:00:00 end=05/01/2021:12:00:00 increment=1m 
    | eval _time=starttime 
    | fields + _time 
    | eval x=`norminv("`rand()`*(0.9999999999999999-0.0000000000000001)+0.0000000000000001", 0.25, 0.05)`]
| apply simple_gaussian_model
| rex field=BoundaryRanges "-Infinity:(?&amp;lt;lcl&amp;gt;[^:]+)"
| rex field=BoundaryRanges "(?&amp;lt;ucl&amp;gt;[^:]+):Infinity"
| table _time x lcl ucl&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="outliers.png" style="width: 959px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14014iC645CB0770268047/image-size/large?v=v2&amp;amp;px=999" role="button" title="outliers.png" alt="outliers.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very nice!&lt;/P&gt;&lt;P&gt;You can find the outliers directly--as you would in an alert search, for example--with a simple where command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| apply simple_gaussian_model
| where 'IsOutlier(x)'==1.0
| table _time x&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="212"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="128"&gt;&lt;STRONG&gt;_time&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="84"&gt;&lt;STRONG&gt;x&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 00:41:00&lt;/TD&gt;&lt;TD&gt;0.379067377&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 02:54:00&lt;/TD&gt;&lt;TD&gt;0.411517318&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 03:01:00&lt;/TD&gt;&lt;TD&gt;0.100776418&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 07:18:00&lt;/TD&gt;&lt;TD&gt;0.131441104&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 08:43:00&lt;/TD&gt;&lt;TD&gt;0.119352555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 08:49:00&lt;/TD&gt;&lt;TD&gt;0.379070878&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 09:00:00&lt;/TD&gt;&lt;TD&gt;0.017377844&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 09:01:00&lt;/TD&gt;&lt;TD&gt;0.013617436&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-05-01 09:02:00&lt;/TD&gt;&lt;TD&gt;0.009148409&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 01 May 2021 19:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550122#M156111</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2021-05-01T19:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Dip Trough Detection</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550223#M156135</link>
      <description>&lt;P&gt;Yes, I am fitting the data without outliers.&lt;/P&gt;&lt;P&gt;Initially I was using &lt;EM&gt;time slice buckets&lt;/EM&gt; then &lt;STRONG&gt;fit&lt;/STRONG&gt; with the &lt;STRONG&gt;by&lt;/STRONG&gt; clause. This produced a range for each minute (I think), so the range kept changing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-03 at 9.55.38 pm.png" style="width: 745px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14017i081B002F4A5E6D4D/image-dimensions/745x205?v=v2" width="745" height="205" role="button" title="Screen Shot 2021-05-03 at 9.55.38 pm.png" alt="Screen Shot 2021-05-03 at 9.55.38 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| eval date_minutebin=strftime(_time, "%M")
| eval date_hour=strftime(_time, "%H")
| eval date_wday=strftime(_time, "%A")
| fit DensityFunction 1/1/g1 by "date_minutebin,date_hour,date_wday" into df_model threshold=0.05 dist=norm&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this specific case it was probably not needed, since I needed to look for outliers when the &lt;EM&gt;overall bandwidth was reduced (ie. high/low range for the whole data set)&lt;/EM&gt;.&amp;nbsp; Hopefully this makes sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As per your example if I kept it simple &lt;U&gt;without&lt;/U&gt; the &lt;STRONG&gt;by&lt;/STRONG&gt; clause, I get the desired result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-03 at 9.40.57 pm.png" style="width: 776px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14016i305697B16AF1F855/image-dimensions/776x196?v=v2" width="776" height="196" role="button" title="Screen Shot 2021-05-03 at 9.40.57 pm.png" alt="Screen Shot 2021-05-03 at 9.40.57 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| fit DensityFunction 1/1/g1 into df_model dist=norm&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For completeness - in my other data sets running the same fit parameters, is it possible to set&amp;nbsp;lowerBound/lcl to zero since bandwidth cannot be a negative number?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-03 at 10.04.11 pm.png" style="width: 776px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14018iBB78550EF50FAAF5/image-dimensions/776x194?v=v2" width="776" height="194" role="button" title="Screen Shot 2021-05-03 at 10.04.11 pm.png" alt="Screen Shot 2021-05-03 at 10.04.11 pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for explaining how to create the test data. I found that really neat!&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 12:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550223#M156135</guid>
      <dc:creator>pjohnson1</dc:creator>
      <dc:date>2021-05-03T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Dip Trough Detection</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550302#M156162</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/78312"&gt;@pjohnson1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dist=norm parameter tells the DensityFunction algorithm to use the normal distribution, which has bounds at -Infinity and +Infinity.&lt;/P&gt;&lt;P&gt;I used the default value (dist=auto), and the algorithm selected Gaussian kernel density estimation (dist=gaussian_kde).&amp;nbsp; I also constrained my mean and standard deviation in a way that would decrease the probability of test samples with values less than 0.&lt;/P&gt;&lt;P&gt;In practice, a normal distribution probably isn't the best fit for your data. We're not doing machine learning here so much as we are basic statistical analysis.&lt;/P&gt;&lt;P&gt;To see the shape of your data, the MLTK includes a histogram macro that works with the histogram visualization, but I prefer the chart command and the bar chart visualization. Just note that chart, bin, etc. produces duplicate bins when working with non-integral spans. I work around that bug with sort and dedup:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;| gentimes start=04/30/2021:00:00:00 end=05/01/2021:00:00:00 increment=1m 
| eval _time=starttime 
| fields + _time 
| eval x=`norminv("`rand()`*(0.9999999999999999-0.0000000000000001)+0.0000000000000001", 0.25, 0.05)`
| chart count over x span=0.025
| sort - count
| dedup x
| sort x&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tscroggins_0-1620086426954.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14025i47CE62A15AB6B51D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tscroggins_0-1620086426954.png" alt="tscroggins_0-1620086426954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My sample data is normally distributed as expected.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 00:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550302#M156162</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2021-05-04T00:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Dip Trough Detection</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550313#M156163</link>
      <description>&lt;P&gt;This is what that data set look like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Base query
| fit DensityFunction 1/1/g1 show_density=true
| bin 1/1/g1 bins=100
| stats count avg("ProbabilityDensity(1/1/g1)") as pd by 1/1/g1
| makecontinuous 1/1/g1
| sort 1/1/g1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-04 at 11.03.54 am.png" style="width: 716px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14027iB4CEC44416FF73F9/image-dimensions/716x137?v=v2" width="716" height="137" role="button" title="Screen Shot 2021-05-04 at 11.03.54 am.png" alt="Screen Shot 2021-05-04 at 11.03.54 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;fit&lt;/STRONG&gt; I have reset the value back to auto. dist=auto&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;apply&lt;/STRONG&gt; I have dropped the &lt;STRONG&gt;-&lt;/STRONG&gt;&amp;nbsp; for the lcl value boundary range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| apply 1/1/g1
| rex field=BoundaryRanges "Infinity:(?&amp;lt;lcl&amp;gt;[^:]+)"
| rex field=BoundaryRanges "(?&amp;lt;ucl&amp;gt;[^:]+):Infinity"
| table _time 1/1/g1 lcl ucl&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart looks good now.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-05-04 at 11.15.23 am.png" style="width: 746px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14028iCD2EA0E8C106182E/image-dimensions/746x181?v=v2" width="746" height="181" role="button" title="Screen Shot 2021-05-04 at 11.15.23 am.png" alt="Screen Shot 2021-05-04 at 11.15.23 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for the assistance.&amp;nbsp; It has been really helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 03:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Outlier-Dip-Trough-Detection/m-p/550313#M156163</guid>
      <dc:creator>pjohnson1</dc:creator>
      <dc:date>2021-05-04T03:12:44Z</dc:date>
    </item>
  </channel>
</rss>

