<?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 not triggering as expected? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619541#M14410</link>
    <description>&lt;P&gt;&lt;BR /&gt;My requirement is that i should receive the mail when no data is available in the servers.&lt;BR /&gt;So my condition should be equal to 0 right???&lt;BR /&gt;&lt;BR /&gt;Correct me if i am wrong.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 19:17:33 GMT</pubDate>
    <dc:creator>Vani_26</dc:creator>
    <dc:date>2022-11-03T19:17:33Z</dc:date>
    <item>
      <title>Why is alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619476#M14404</link>
      <description>&lt;P&gt;Hi, i got the below query, and alert should get triggered only when data is not avaiable from any one of the host_ips&lt;BR /&gt;&lt;BR /&gt;i gave the time range as 24 hrs to now and alert condition = o and corn expression&amp;nbsp;&lt;SPAN&gt;*/30 * * * *&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;i am getting mail for every 30 mins, even if data is available.&lt;/P&gt;
&lt;PRE&gt;index=advcf request=* host IN(abgc, efgh, jhty, hjyu,kjnb)
| eval event_ct=1
| append [| makeresults 
    | eval host="abgc, efgh, jhty, hjyu, kjnb"
    | rex field=host mode=sed "s/\s+//g"
    | eval host=split(host,",")
    | mvexpand host
    | eval event_ct=0
    ]
| stats sum(event_ct) AS event_ct BY host
| where event_ct=0&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619476#M14404</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2022-11-03T16:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619491#M14405</link>
      <description>&lt;P&gt;There doesn't appear to be anything wrong with your search - can you share your alert configuration?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619491#M14405</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-11-03T16:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619499#M14406</link>
      <description>&lt;P&gt;alert configuration means, like what you want me to share.???&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:36:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619499#M14406</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2022-11-03T16:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619503#M14407</link>
      <description>&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_0-1667493763025.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22317i185C70494EA4B4E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_0-1667493763025.png" alt="ITWhisperer_0-1667493763025.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619503#M14407</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-11-03T16:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619523#M14408</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vani_26_0-1667497496055.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22323i6EA44ACE1E78AD26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vani_26_0-1667497496055.png" alt="Vani_26_0-1667497496055.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 17:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619523#M14408</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2022-11-03T17:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619539#M14409</link>
      <description>&lt;P&gt;I believe you want the alert to trigger is the number of results is NOT zero.&amp;nbsp; That is the error condition.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 18:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619539#M14409</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-03T18:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619541#M14410</link>
      <description>&lt;P&gt;&lt;BR /&gt;My requirement is that i should receive the mail when no data is available in the servers.&lt;BR /&gt;So my condition should be equal to 0 right???&lt;BR /&gt;&lt;BR /&gt;Correct me if i am wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 19:17:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619541#M14410</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2022-11-03T19:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619568#M14416</link>
      <description>&lt;P&gt;The test for zero is already in the SPL&lt;/P&gt;&lt;PRE&gt;| where event_ct=0&lt;/PRE&gt;&lt;P&gt;so you want the alert to trigger when the SPL finds a zero count for a host.&amp;nbsp; Therefore, trigger when the number of results is not zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 00:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619568#M14416</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-04T00:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619570#M14417</link>
      <description>&lt;P&gt;So in the alert configuration, i need to mention number of results&amp;nbsp; "is not equal to 0"&lt;BR /&gt;Please confirm.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vani_26_0-1667521765928.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/22327iDA2B3016FE0E2C13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vani_26_0-1667521765928.png" alt="Vani_26_0-1667521765928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 00:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619570#M14417</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2022-11-04T00:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alert not triggering as expected?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619574#M14419</link>
      <description>&lt;P&gt;thank you, it worked&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 01:38:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-alert-not-triggering-as-expected/m-p/619574#M14419</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2022-11-04T01:38:03Z</dc:date>
    </item>
  </channel>
</rss>

