<?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: Alarm is not working in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305781#M5504</link>
    <description>&lt;P&gt;I'm willing to give more information but I don't know what more... Setting up an alarm should be quite easy there is not much you can do wrong... When I check the results I DO get like 1000 and when I set the trigger to fire when there are more then 10 results it's no rocket science...&lt;BR /&gt;
I'm confused...&lt;/P&gt;</description>
    <pubDate>Wed, 28 Mar 2018 17:19:25 GMT</pubDate>
    <dc:creator>hommesf</dc:creator>
    <dc:date>2018-03-28T17:19:25Z</dc:date>
    <item>
      <title>Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305769#M5492</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I've set up an alarm for a search which is very easy:&lt;BR /&gt;
index=radius radius_login_status="Login OK:"&lt;BR /&gt;
This gives me quite many results.&lt;/P&gt;

&lt;P&gt;Now I've set up the alarm with trigger alarm when the number of results is higher then 5. &lt;/P&gt;

&lt;P&gt;The search is executed every 5 min. and the results are between 50 and 2000. But no alarm is fired!&lt;/P&gt;

&lt;P&gt;I don't understand why &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanx&lt;BR /&gt;
Frank&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:47:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305769#M5492</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2020-09-29T18:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305770#M5493</link>
      <description>&lt;P&gt;Try setting your trigger in SPL rather than in the alert settings &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=radius radius_login_status="Login OK:"
| stats count
| where count&amp;gt;5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Mar 2018 13:41:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305770#M5493</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305771#M5494</link>
      <description>&lt;P&gt;Still no alarm &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 14:15:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305771#M5494</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2018-03-28T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305772#M5495</link>
      <description>&lt;P&gt;How are you testing this? How is your alert setup? Are you looking for a count greater than 5 in a specific timespan? What timespan are you looking for?&lt;/P&gt;

&lt;P&gt;This works on my end &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=6
 | stats count
 | where count&amp;gt;5
 | eval alarm=if(count&amp;gt;5,"ALERT","")
 | fields alarm
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305772#M5495</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305773#M5496</link>
      <description>&lt;P&gt;The output of this will be ALERT of course.&lt;BR /&gt;
But I'm trying to set up an alert for the results of a search.&lt;BR /&gt;
I got around 1000 entries per 5 minutes and the cronjob is  running every five minutes. I can check the job out and I will get 1000 results.&lt;BR /&gt;
But there is no alert although I set the Trigger Conditions to number of results and then is greater than 10.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:23:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305773#M5496</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2018-03-28T15:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305774#M5497</link>
      <description>&lt;P&gt;Your not following the advice I'm giving you here.. &lt;/P&gt;

&lt;P&gt;You need to setup the alert in SPL then change your alert value to "custom" then fill in &lt;CODE&gt;count&lt;/CODE&gt; for the value. &lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:26:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305774#M5497</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305775#M5498</link>
      <description>&lt;P&gt;I probably don't unterstand.&lt;BR /&gt;
So you mean in alert settings I should put in the following search:&lt;BR /&gt;
index=radius radius_login_status="Login OK:"&lt;BR /&gt;
 | stats count&lt;BR /&gt;
 | where count&amp;gt;5&lt;/P&gt;

&lt;P&gt;and then on alert value custom search count &amp;gt; 5&lt;BR /&gt;
This is not working either.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:48:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305775#M5498</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2020-09-29T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305776#M5499</link>
      <description>&lt;P&gt;No. Select "custom" in your alert actions. Then the field below it will be empty. In that empty field, put &lt;CODE&gt;count&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305776#M5499</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T15:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305777#M5500</link>
      <description>&lt;P&gt;I got the following error when saving:&lt;BR /&gt;
"Cannot parse alert condition. Search Factory: Unknown search command 'count'."&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305777#M5500</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2018-03-28T15:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305778#M5501</link>
      <description>&lt;P&gt;My bad, it should look like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=radius radius_login_status="Login OK:"
| stats count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have that empty field under "custom" as &lt;CODE&gt;search count&amp;gt;5&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305778#M5501</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305779#M5502</link>
      <description>&lt;P&gt;I had this for some time but didn't work&lt;BR /&gt;
Tried it again but no alarm.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:10:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305779#M5502</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2018-03-28T17:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305780#M5503</link>
      <description>&lt;P&gt;Works on mine.. Not sure anyone will be able to help you with such little information &lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305780#M5503</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T17:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305781#M5504</link>
      <description>&lt;P&gt;I'm willing to give more information but I don't know what more... Setting up an alarm should be quite easy there is not much you can do wrong... When I check the results I DO get like 1000 and when I set the trigger to fire when there are more then 10 results it's no rocket science...&lt;BR /&gt;
I'm confused...&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305781#M5504</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2018-03-28T17:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305782#M5505</link>
      <description>&lt;P&gt;It's very easy to setup alerts in Splunk. &lt;/P&gt;

&lt;P&gt;My second comment from the top asks about the time range. If your timespan is not returning results than it will not alert. What is your timerange your searching over? Can you post pictures showing that timerange with no results being returned?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:22:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305782#M5505</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-03-28T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alarm is not working</title>
      <link>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305783#M5506</link>
      <description>&lt;P&gt;&lt;IMG src="https://cdn.pbrd.co/images/He1gKLE.jpg" alt="Splunk" /&gt;&lt;BR /&gt;
It should fire when there are more then x results. At the moment I'm testing with 10 results. As you can see the search give about 500 results atm.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:26:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alarm-is-not-working/m-p/305783#M5506</guid>
      <dc:creator>hommesf</dc:creator>
      <dc:date>2018-03-28T17:26:58Z</dc:date>
    </item>
  </channel>
</rss>

