<?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 Splunk alert is not working in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527404#M9923</link>
    <description>&lt;P&gt;Hi Chaps,&lt;/P&gt;&lt;P&gt;Need some help to understand why the alert is not getting triggered. This alerts query, when executed over 7 days period gives nonzero counts of 6 i.e. greater than 5(Our condition is trigger alert when nonzero counts exceeds 5). I see that alert is not getting even though we have nonzero count is 6.When we checked scheduler log Email action is blank.i have pasted the screen shot for reference.Please help me in this regards.&lt;/P&gt;&lt;P&gt;Below is the query&lt;/P&gt;&lt;P&gt;sourcetype="*" LOG_MESSAGE="Retry*" "Collections.NCS" NOT LOG_MESSAGE="Retry #1 *" | timechart span=10m count | autoregress count p=1-5 | eval nonzero=if(count &amp;gt; 0, if(count_p1 &amp;gt; 0, if(count_p2 &amp;gt; 0, if(count_p3 &amp;gt; 0, if(count_p4 &amp;gt; 0, if(count_p5 &amp;gt; 0, 6, 5), 4), 3), 2), 1), 0) | fields _time, nonzero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i see the nonzero counts which exceeds&amp;nbsp; 5.in below screen shot&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="search query when we ran for  over7 days  of period" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11602i0FA8309BF9D882BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search query.png" alt="search query when we ran for  over7 days  of period" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;search query when we ran for  over7 days  of period&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;below is the scheduler log.i see alert_action is blank.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;10-31-2020 08:10:07.566 +0000 INFO SavedSplunker - savedsearch_id="XXX;search; alert", search_type="", user="XXX", app="search", savedsearch_name="XXXX alert", priority=default, status=success, digest_mode=1, scheduled_time=1604131800, window_time=0, dispatch_time=1604131805, run_time=1.785, result_count=1015, alert_actions="", sid="scheduler__smadan__search__RMD5ab6a869ca92dbacc_at_1604131800_63960_638683B3-25D9-4D2A-AF2E-4E43362FDBFA", suppressed=0, thread_id="AlertNotifierWorker-0", workload_pool=""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the alert condition:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alert condition.png" style="width: 819px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11603i5F25480AC350D2F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alert condition.png" alt="alert condition.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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 31 Oct 2020 08:27:44 GMT</pubDate>
    <dc:creator>btshivanand</dc:creator>
    <dc:date>2020-10-31T08:27:44Z</dc:date>
    <item>
      <title>Splunk alert is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527404#M9923</link>
      <description>&lt;P&gt;Hi Chaps,&lt;/P&gt;&lt;P&gt;Need some help to understand why the alert is not getting triggered. This alerts query, when executed over 7 days period gives nonzero counts of 6 i.e. greater than 5(Our condition is trigger alert when nonzero counts exceeds 5). I see that alert is not getting even though we have nonzero count is 6.When we checked scheduler log Email action is blank.i have pasted the screen shot for reference.Please help me in this regards.&lt;/P&gt;&lt;P&gt;Below is the query&lt;/P&gt;&lt;P&gt;sourcetype="*" LOG_MESSAGE="Retry*" "Collections.NCS" NOT LOG_MESSAGE="Retry #1 *" | timechart span=10m count | autoregress count p=1-5 | eval nonzero=if(count &amp;gt; 0, if(count_p1 &amp;gt; 0, if(count_p2 &amp;gt; 0, if(count_p3 &amp;gt; 0, if(count_p4 &amp;gt; 0, if(count_p5 &amp;gt; 0, 6, 5), 4), 3), 2), 1), 0) | fields _time, nonzero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i see the nonzero counts which exceeds&amp;nbsp; 5.in below screen shot&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="search query when we ran for  over7 days  of period" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11602i0FA8309BF9D882BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search query.png" alt="search query when we ran for  over7 days  of period" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;search query when we ran for  over7 days  of period&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;below is the scheduler log.i see alert_action is blank.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;10-31-2020 08:10:07.566 +0000 INFO SavedSplunker - savedsearch_id="XXX;search; alert", search_type="", user="XXX", app="search", savedsearch_name="XXXX alert", priority=default, status=success, digest_mode=1, scheduled_time=1604131800, window_time=0, dispatch_time=1604131805, run_time=1.785, result_count=1015, alert_actions="", sid="scheduler__smadan__search__RMD5ab6a869ca92dbacc_at_1604131800_63960_638683B3-25D9-4D2A-AF2E-4E43362FDBFA", suppressed=0, thread_id="AlertNotifierWorker-0", workload_pool=""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the alert condition:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alert condition.png" style="width: 819px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11603i5F25480AC350D2F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alert condition.png" alt="alert condition.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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 08:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527404#M9923</guid>
      <dc:creator>btshivanand</dc:creator>
      <dc:date>2020-10-31T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk alert is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527529#M9931</link>
      <description>&lt;P&gt;Have you set the trigger actions? In the screen shot its not visible, also the throttle settings.&lt;/P&gt;&lt;P&gt;Run the same search in search window and add the condition &lt;EM&gt;search nonzero &amp;gt; 5&lt;/EM&gt; to check the results&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527529#M9931</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-11-02T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk alert is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527535#M9932</link>
      <description>&lt;P&gt;trigger condition is send email.please find the above screen shot you see where nonzero counts are exceeding 5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-alert-is-not-working/m-p/527535#M9932</guid>
      <dc:creator>btshivanand</dc:creator>
      <dc:date>2020-11-02T13:47:42Z</dc:date>
    </item>
  </channel>
</rss>

