<?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 Alert trigger question in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-trigger-question/m-p/199243#M3474</link>
    <description>&lt;P&gt;I have an alert that is triggering when conditions are not met.  The search for the alert is:&lt;/P&gt;

&lt;P&gt;index=foo earliest=-1d@d latest=@d setMeterSpot SystemName!=foo1 SystemName!=foo2 | eval SystemName=upper(SystemName)| timechart span=1d count(SessionId) by SystemName usenull=f | sort -_time  | rename _time as "Date Logged" | convert timeformat="%Y-%m-%d" ctime("Date Logged")&lt;/P&gt;

&lt;P&gt;This search returns a table with 7 columns.  Date Logged, and 6 columns with system names.  The first column returns the date for the day of the search and the other 6 columns return a number value.  Standard number for a daily search on this is 288.  I was trying to setup an alert that triggered when the number was below 260 in any of the 6 columns.  I tried using the same search and setting a condition to trigger if number of results is less than 260.  I thought it was working but I have had the alert trigger when there is not a column that is below 260. &lt;/P&gt;

&lt;P&gt;Do I need a where condition in there?&lt;BR /&gt;&lt;BR /&gt;
Is the trigger condition adding every column to get the number to trigger off of?&lt;/P&gt;

&lt;P&gt;Please advise.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2014 13:50:46 GMT</pubDate>
    <dc:creator>Bliide</dc:creator>
    <dc:date>2014-09-02T13:50:46Z</dc:date>
    <item>
      <title>Alert trigger question</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-trigger-question/m-p/199243#M3474</link>
      <description>&lt;P&gt;I have an alert that is triggering when conditions are not met.  The search for the alert is:&lt;/P&gt;

&lt;P&gt;index=foo earliest=-1d@d latest=@d setMeterSpot SystemName!=foo1 SystemName!=foo2 | eval SystemName=upper(SystemName)| timechart span=1d count(SessionId) by SystemName usenull=f | sort -_time  | rename _time as "Date Logged" | convert timeformat="%Y-%m-%d" ctime("Date Logged")&lt;/P&gt;

&lt;P&gt;This search returns a table with 7 columns.  Date Logged, and 6 columns with system names.  The first column returns the date for the day of the search and the other 6 columns return a number value.  Standard number for a daily search on this is 288.  I was trying to setup an alert that triggered when the number was below 260 in any of the 6 columns.  I tried using the same search and setting a condition to trigger if number of results is less than 260.  I thought it was working but I have had the alert trigger when there is not a column that is below 260. &lt;/P&gt;

&lt;P&gt;Do I need a where condition in there?&lt;BR /&gt;&lt;BR /&gt;
Is the trigger condition adding every column to get the number to trigger off of?&lt;/P&gt;

&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-trigger-question/m-p/199243#M3474</guid>
      <dc:creator>Bliide</dc:creator>
      <dc:date>2014-09-02T13:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alert trigger question</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-trigger-question/m-p/199244#M3475</link>
      <description>&lt;P&gt;I'd suggest you change your search to only return rows you want to alert on (include the where / search clause in your search string to limit your results). Then simply use the alert condition: when search results &amp;gt; 0.&lt;/P&gt;

&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2014 14:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-trigger-question/m-p/199244#M3475</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2014-09-02T14:15:38Z</dc:date>
    </item>
  </channel>
</rss>

