<?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 Max time spent in per-result alerts issue in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Max-time-spent-in-per-result-alerts-issue/m-p/366626#M6324</link>
    <description>&lt;P&gt;I'm running into an issue with a scheduled search not completing all of it's alert actions when it executes. The scheduled search has been set to run every minute and the warning will occur approximately every minute. We reduced the schedule to every 5 min and get the warning approximately every 5 minutes. This is the warning:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;04-27-2018 10:40:25.092 -0400 WARN  SavedSplunker - Reached maximum amount of time allowed to spend in per-result alerts for savedsearch_id="nobody;app;search", sid="scheduler__user_Y3liZXJdrchyZWF0__RMD512364230b266f208_at_1524839700_11453_84568E04-6E8F-4D6B-7HF0C-1CD3DC88879B", max_alerts_time=300 (seconds), fired_alerts=172&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Regardless of the schedule the fired_alerts typically falls in the 150-190 range. In alert_actions.conf I did find the setting &lt;CODE&gt;maxtime = 5m&lt;/CODE&gt; as a default. I changed that to &lt;CODE&gt;maxtime = 10m&lt;/CODE&gt;. A btool shows that setting as applying but the warning still reflects a 300s time limit. Is there another setting to look at? I've dug through limits.conf, alert_actions.conf, and saved_searches.conf and didn't see anything but perhaps I missed something.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:17:18 GMT</pubDate>
    <dc:creator>mdsnmss</dc:creator>
    <dc:date>2020-09-29T19:17:18Z</dc:date>
    <item>
      <title>Max time spent in per-result alerts issue</title>
      <link>https://community.splunk.com/t5/Reporting/Max-time-spent-in-per-result-alerts-issue/m-p/366626#M6324</link>
      <description>&lt;P&gt;I'm running into an issue with a scheduled search not completing all of it's alert actions when it executes. The scheduled search has been set to run every minute and the warning will occur approximately every minute. We reduced the schedule to every 5 min and get the warning approximately every 5 minutes. This is the warning:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;04-27-2018 10:40:25.092 -0400 WARN  SavedSplunker - Reached maximum amount of time allowed to spend in per-result alerts for savedsearch_id="nobody;app;search", sid="scheduler__user_Y3liZXJdrchyZWF0__RMD512364230b266f208_at_1524839700_11453_84568E04-6E8F-4D6B-7HF0C-1CD3DC88879B", max_alerts_time=300 (seconds), fired_alerts=172&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Regardless of the schedule the fired_alerts typically falls in the 150-190 range. In alert_actions.conf I did find the setting &lt;CODE&gt;maxtime = 5m&lt;/CODE&gt; as a default. I changed that to &lt;CODE&gt;maxtime = 10m&lt;/CODE&gt;. A btool shows that setting as applying but the warning still reflects a 300s time limit. Is there another setting to look at? I've dug through limits.conf, alert_actions.conf, and saved_searches.conf and didn't see anything but perhaps I missed something.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Max-time-spent-in-per-result-alerts-issue/m-p/366626#M6324</guid>
      <dc:creator>mdsnmss</dc:creator>
      <dc:date>2020-09-29T19:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Max time spent in per-result alerts issue</title>
      <link>https://community.splunk.com/t5/Reporting/Max-time-spent-in-per-result-alerts-issue/m-p/366627#M6325</link>
      <description>&lt;P&gt;This allowed us to removed some caps in the limits.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[scheduler]
action_execution_threads = 10
actions_queue_size = 10000
max_per_result_alerts =10000
max_per_result_alerts_time = 600
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Apr 2018 15:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Max-time-spent-in-per-result-alerts-issue/m-p/366627#M6325</guid>
      <dc:creator>mdsnmss</dc:creator>
      <dc:date>2018-04-27T15:59:17Z</dc:date>
    </item>
  </channel>
</rss>

