<?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 do I set an alert when 95th percentile is over the threshold? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396753#M115202</link>
    <description>&lt;P&gt;index=java location=APICall api_method=POST Duration |timechart span=5m perc95(Duration) as P95| where P95&amp;gt; 30000ms&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 21:16:04 GMT</pubDate>
    <dc:creator>mlui_2</dc:creator>
    <dc:date>2018-06-19T21:16:04Z</dc:date>
    <item>
      <title>How do I set an alert when 95th percentile is over the threshold?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396750#M115199</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;Here is my base search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=java  location=APICall api_method=POST Duration |stats   median(Duration) as median, perc70(Duration) as p70, perc90(Duration) as p90, perc95(Duration) as p95, perc99(Duration) as p99 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I set an alert when 95th percentile is over let's say 30000ms ?&lt;/P&gt;

&lt;P&gt;Thanks in advance &lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 18:47:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396750#M115199</guid>
      <dc:creator>mlui_2</dc:creator>
      <dc:date>2018-06-19T18:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set an alert when 95th percentile is over the threshold?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396751#M115200</link>
      <description>&lt;P&gt;If I understand your data correctly you would want to add a where statement before the stats statement.&lt;/P&gt;

&lt;P&gt;| where perc95(duration) &amp;gt; 30000&lt;/P&gt;

&lt;P&gt;and if you want to add more clauses to the statement you can do it this way:&lt;/P&gt;

&lt;P&gt;| where (perc70(duration) &amp;gt; 30000) OR (perc90(duration) &amp;gt; 30000) OR (perc95(duration) &amp;gt; 30000) OR (perc99(duration) &amp;gt; 30000)&lt;/P&gt;

&lt;P&gt;This statement will remove any information that does not meet the said criteria.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 21:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396751#M115200</guid>
      <dc:creator>pjdwyer</dc:creator>
      <dc:date>2018-06-19T21:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set an alert when 95th percentile is over the threshold?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396752#M115201</link>
      <description>&lt;P&gt;got it&lt;/P&gt;

&lt;P&gt;timechart span=5m perc95(Duration) as P95 | where P95&amp;gt;30000ms&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 21:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396752#M115201</guid>
      <dc:creator>mlui_2</dc:creator>
      <dc:date>2018-06-19T21:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set an alert when 95th percentile is over the threshold?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396753#M115202</link>
      <description>&lt;P&gt;index=java location=APICall api_method=POST Duration |timechart span=5m perc95(Duration) as P95| where P95&amp;gt; 30000ms&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 21:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-set-an-alert-when-95th-percentile-is-over-the-threshold/m-p/396753#M115202</guid>
      <dc:creator>mlui_2</dc:creator>
      <dc:date>2018-06-19T21:16:04Z</dc:date>
    </item>
  </channel>
</rss>

