<?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: real time alerts  stopped working in splunk in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324421#M10809</link>
    <description>&lt;P&gt;Hi Adonio, &lt;/P&gt;

&lt;P&gt;I have now scheduled the alerts  through cron and i am getting below log results and mail is still not triggered.anything i am missing here ?&lt;/P&gt;

&lt;P&gt;04-28-2017 08:45:02.910 +0200 INFO  SavedSplunker - savedsearch_id="nobody;BpServiceStatus;serv_sched_alert", &lt;BR /&gt;
user="admin", app="BpServiceStatus", savedsearch_name="secc4069_sched_alert", &lt;BR /&gt;
status=success, digest_mode=1, scheduled_time=1493361900, window_time=0,&lt;BR /&gt;
 dispatch_time=1493361901, run_time=0.940, result_count=0, alert_actions="", &lt;BR /&gt;
sid="scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;BpServiceStatus&lt;/EM&gt;_RMD5b4b50b150fb545cc_at_1493361900_82118", suppressed=0, thread_id="AlertNotifierWorker-0"&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:52:08 GMT</pubDate>
    <dc:creator>sathyasubburaj</dc:creator>
    <dc:date>2020-09-29T13:52:08Z</dc:date>
    <item>
      <title>real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324410#M10798</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;
real time alerts which has been configured in splunk   stopped working suddenly  ..when checking on schedular.log file it has log messages as  "reason=realtime rtsearches limit exceeded"   or  "reason=real time searches pending"&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 11:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324410#M10798</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-04-11T11:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324411#M10799</link>
      <description>&lt;P&gt;@sathyasubburaj... Real-Time searches/Alerts should be decided based on your Splunk Infrastructure. Avoid them unless absolutely necessary.&lt;/P&gt;

&lt;P&gt;In case your system can support, these settings should be located in &lt;CODE&gt;Splunk Settings &amp;gt; Access Control &amp;gt; Roles &amp;gt; (Specific Role like Admin)&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;User-level concurrent real-time search job limits&lt;/CODE&gt; and &lt;CODE&gt;Role-level concurrent real-time search job limit&lt;/CODE&gt; settings&lt;/P&gt;

&lt;P&gt;You might also need to consider other settings like &lt;CODE&gt;Restrict time range&lt;/CODE&gt;, &lt;CODE&gt;Restrict Search terms&lt;/CODE&gt; and &lt;CODE&gt;Limit total job disk quota&lt;/CODE&gt; accordingly.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 12:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324411#M10799</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-04-11T12:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324412#M10800</link>
      <description>&lt;P&gt;Hi Niketnilay , &lt;/P&gt;

&lt;P&gt;thanks for the response. &lt;BR /&gt;
Currently i created the alerts using admin user/role .&lt;BR /&gt;
Below are the settings in splunk for admin role .&lt;BR /&gt;
User-level concurrent real-time search job limits-100&lt;BR /&gt;
Role-level concurrent search jobs limit-200&lt;BR /&gt;
Restrict time range-0&lt;BR /&gt;
Restrict search terms-*&lt;BR /&gt;
Limit total job disk quota -10000&lt;/P&gt;

&lt;P&gt;Do I need to change the limits ?&lt;/P&gt;

&lt;P&gt;Below is the query i have configured as alert in real time --&amp;gt; trigger result  when number of result is greater than 1 and trigger once in one hour .&lt;/P&gt;

&lt;P&gt;index=windows sourcetype="WMI:Service" host= Name=HM* OR Name=SD* OR Name=H&amp;amp;M* OR Name=Board* OR Name=Salsa* status="Stopped" OR status="Stop"|dedup Name,host | rex "Description=(?P.+).*?" |table Name ,Description,status,_time,host |eval Name=upper(Name) |eval Env=case(host = "hostname", "DIT" ) |eval system=case(host = "hostname", "SDS") | convert timeformat="%H:%M:%S %Y-%m-%d" ctime(_time) |Rename Name as "SERVICE NAME" status as Status _time as Time host as "SERVER" Env as "Environment" system as "SYSTEM"&lt;/P&gt;

&lt;P&gt;I have configured 37 similar alerts like above .. does this cause issue ???&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324412#M10800</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2020-09-29T13:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324413#M10801</link>
      <description>&lt;P&gt;Hi Niketnilay ,&lt;/P&gt;

&lt;P&gt;Currently am getting log message as "reason="maxconcurrent limit reached" .. Any help would be greatly appreciated &lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324413#M10801</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-04-19T11:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324414#M10802</link>
      <description>&lt;P&gt;37 realtime alerts might overload your system depends on hardware specs &lt;BR /&gt;
try this search and see if the realtime alerts are being skipped:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=scheduler status=skipped | table _time app user savedsearch_name reason
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324414#M10802</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-19T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324415#M10803</link>
      <description>&lt;P&gt;Adonio, &lt;/P&gt;

&lt;P&gt;thank you ... yes i could see all of them skipped :'( any solution to this ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:02:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324415#M10803</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-04-19T13:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324416#M10804</link>
      <description>&lt;P&gt;so the reason the alerts are not firing is the searches for the alerts are not running (skipped) most likely the reason for that is that you have many realtime searches at the same time and there are not enough cores to support it.&lt;BR /&gt;
it is better to run a scheduled search for alerts in an interval and minimize the use of realtime searches. &lt;BR /&gt;
so for your alerts, probably configure the searches to run lets say every 5 or 15 minutes and not real time.&lt;BR /&gt;
this doc article can help:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/Alert/AlertSchedulingBestPractices"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/Alert/AlertSchedulingBestPractices&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324416#M10804</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-19T13:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324417#M10805</link>
      <description>&lt;P&gt;sure .. will read the document .. but one more query ..if i reconfigure the 37 alerts into scheduled whether  it will overload the system ???&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324417#M10805</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-04-19T13:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324418#M10806</link>
      <description>&lt;P&gt;the doc above elaborates on best practices, i will suggest to prioritize your alerts and add that factor as well when setting it up. it will take into consideration which alert has highest priority.&lt;BR /&gt;
another important thing to pay attention to is how long the search (for the alerts) takes to complete. you dont want to schedule a search to run every minute if it takes 3 minutes to complete since it will never complete and will tie a core.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324418#M10806</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-19T13:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324419#M10807</link>
      <description>&lt;P&gt;thank you so much Adonio :-):-)let me take a look into document and get back to you for queries incase !!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324419#M10807</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-04-19T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324420#M10808</link>
      <description>&lt;P&gt;summary of comments above:&lt;BR /&gt;
37 real time searches for alerts are to many for system to handle.&lt;BR /&gt;
searches for alerts are being skipped and therefore alerts are not triggered.&lt;BR /&gt;
use this search to find out which searched are being skipped and why:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal sourcetype=scheduler status=skipped | table _time app user savedsearch_name reason
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;use this alerts best practice doc to modify searches times intervals and other scheduling parameters:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/Alert/AlertSchedulingBestPractices"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/Alert/AlertSchedulingBestPractices&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 14:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324420#M10808</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-19T14:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324421#M10809</link>
      <description>&lt;P&gt;Hi Adonio, &lt;/P&gt;

&lt;P&gt;I have now scheduled the alerts  through cron and i am getting below log results and mail is still not triggered.anything i am missing here ?&lt;/P&gt;

&lt;P&gt;04-28-2017 08:45:02.910 +0200 INFO  SavedSplunker - savedsearch_id="nobody;BpServiceStatus;serv_sched_alert", &lt;BR /&gt;
user="admin", app="BpServiceStatus", savedsearch_name="secc4069_sched_alert", &lt;BR /&gt;
status=success, digest_mode=1, scheduled_time=1493361900, window_time=0,&lt;BR /&gt;
 dispatch_time=1493361901, run_time=0.940, result_count=0, alert_actions="", &lt;BR /&gt;
sid="scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;BpServiceStatus&lt;/EM&gt;_RMD5b4b50b150fb545cc_at_1493361900_82118", suppressed=0, thread_id="AlertNotifierWorker-0"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324421#M10809</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2020-09-29T13:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324422#M10810</link>
      <description>&lt;P&gt;We have limitation to run real time searches concurrently. You can read the limits.conf.spec in splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;max_searches_per_cpu = &amp;lt;int&amp;gt;
* The maximum number of concurrent historical searches per CPU. The system-wide
  limit of historical searches is computed as:
  max_hist_searches =  max_searches_per_cpu x number_of_cpus + base_max_searches
* Note: the maximum number of real-time searches is computed as:
  max_rt_searches = max_rt_search_multiplier x max_hist_searches
* Defaults to 1

max_rt_search_multiplier = &amp;lt;decimal number&amp;gt;
* A number by which the maximum number of historical searches is multiplied to
  determine the maximum number of concurrent real-time searches
* Note: the maximum number of real-time searches is computed as:
  max_rt_searches = max_rt_search_multiplier x max_hist_searches
* Defaults to 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324422#M10810</guid>
      <dc:creator>mwong</dc:creator>
      <dc:date>2017-04-28T11:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324423#M10811</link>
      <description>&lt;P&gt;looking at your data, it seems like there are no alert actions configured for this search or that they dont match the criteria specified to trigger the alert: look at field alert_actions&lt;BR /&gt;
if search trigers an action, you should see a value there and not ""&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 14:06:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324423#M10811</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-28T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324424#M10812</link>
      <description>&lt;P&gt;Hi Adonio and mwong ,&lt;/P&gt;

&lt;P&gt;Thanks for your comments and reply . Issue has been fixed after changing the alerts to schedule and sharing option in alert tab to app &lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 10:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324424#M10812</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-05-17T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324425#M10813</link>
      <description>&lt;P&gt;Hi Adonio , &lt;/P&gt;

&lt;P&gt;Thanks for your comments and reply .Issue has been fixed after changing the alerts to scheduled and sharing tab option in alerts tab to app .&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 10:44:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324425#M10813</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-05-17T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: real time alerts  stopped working in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324426#M10814</link>
      <description>&lt;P&gt;Hi mwong, &lt;/P&gt;

&lt;P&gt;Thanks for your comments and reply .Issue has been fixed after changing the alerts to scheduled and sharing tab option in alerts tab to app .&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 10:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/real-time-alerts-stopped-working-in-splunk/m-p/324426#M10814</guid>
      <dc:creator>sathyasubburaj</dc:creator>
      <dc:date>2017-05-17T10:44:52Z</dc:date>
    </item>
  </channel>
</rss>

