<?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: Alert trigger conditions in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350300#M10941</link>
    <description>&lt;P&gt;Will do!&lt;/P&gt;

&lt;P&gt;Thank you, somesoni2!&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 20:04:08 GMT</pubDate>
    <dc:creator>danbutterman</dc:creator>
    <dc:date>2018-02-01T20:04:08Z</dc:date>
    <item>
      <title>Alert trigger conditions</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350298#M10939</link>
      <description>&lt;P&gt;Hello Splunk community,&lt;/P&gt;

&lt;P&gt;I have an alert setup that will trigger when a website status does not equal 200:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon host="nameofsearchhead" sourcetype=httpstatus 
| where status!=200 
| lookup Prod-Websites.csv url AS url OUTPUTNEW server
| table _time,url,status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The results in the statistics tab show up as three columns: time, url, status code.&lt;/P&gt;

&lt;P&gt;The alert currently triggers whenever I receive more than 4 results (which could be 5 different urls, that had a single non-200 event each).&lt;/P&gt;

&lt;P&gt;I would like for the alert to trigger whenever I receive more than 4 results (non-200 events) for a single url, instead.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350298#M10939</guid>
      <dc:creator>danbutterman</dc:creator>
      <dc:date>2018-01-30T21:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alert trigger conditions</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350299#M10940</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;P&gt;Alert search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=perfmon host="nameofsearchhead" sourcetype=httpstatus 
 | where status!=200 
 | lookup Prod-Websites.csv url AS url OUTPUTNEW server
 | table _time,url,status | eventstats count by url | where count&amp;gt;4
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alert condition&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;when number of results &amp;gt; 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350299#M10940</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-01-30T22:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alert trigger conditions</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350300#M10941</link>
      <description>&lt;P&gt;Will do!&lt;/P&gt;

&lt;P&gt;Thank you, somesoni2!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 20:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-trigger-conditions/m-p/350300#M10941</guid>
      <dc:creator>danbutterman</dc:creator>
      <dc:date>2018-02-01T20:04:08Z</dc:date>
    </item>
  </channel>
</rss>

