<?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 doesn't run each minute in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552223#M10514</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry, I'm using splunk 6.4.2&lt;/P&gt;&lt;P&gt;I find this command :&lt;/P&gt;&lt;P&gt;index=_internal "INFO StreamedSearch - Streamed search connection terminated" savedsearch_name="My_Alert" | table _time, search_id, server, active_searches, elapsedTime, search, savedsearch_name&lt;/P&gt;&lt;P&gt;And the frequency is the same. I schedule a mail for each alert, and it's the same in my outlook than on splunk.&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 14:53:35 GMT</pubDate>
    <dc:creator>mclane1</dc:creator>
    <dc:date>2021-05-19T14:53:35Z</dc:date>
    <item>
      <title>Alert doesn't run each minute</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552073#M10512</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I created a small alert compiling data per minute for the last 24 hours:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index=my*filter) (myConstraint) | bin span=1m _time
| eval fieldX=formule
| stats count(eval(field="OK")) AS OK, count as Total by index, field1, ..., fieldN, _time
| append [| inputlookup MyLookup.csv | addinfo | where _time &amp;gt; relative_time(info_max_time, "-24h")]
| stats max(OK) as OK, max(Total) as Total by index, field1, ..., fieldN, _time
| outputlookup append=f MyLookup.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configure the alert with earliest=-5m and latest=now&lt;/P&gt;&lt;P&gt;Schedule window : 0&lt;/P&gt;&lt;P&gt;I try with and without acceleration without success.&lt;/P&gt;&lt;P&gt;I schedule my search :&amp;nbsp;* * * * *&lt;/P&gt;&lt;P&gt;Expiration : I keep 1 h of alerts&lt;/P&gt;&lt;P&gt;The alert runs correctly but, it runs each 5 to 10 minutes.&lt;/P&gt;&lt;P&gt;I see in tasks the execution time is less than 15s (between 6 and 15 sec) :&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Execution.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14203i71EBB6DD358DC171/image-size/large?v=v2&amp;amp;px=999" role="button" title="Execution.jpg" alt="Execution.jpg" /&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;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;The goal : another alert must run each 5 min and must look last 2h to generate alerts. Directly on the real time the alert duration is 3 min. I hope the inspect the "lookup" is quicker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 16:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552073#M10512</guid>
      <dc:creator>mclane1</dc:creator>
      <dc:date>2021-05-18T16:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alert doesn't run each minute</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552112#M10513</link>
      <description>&lt;P&gt;Have you checked the audittrail rather than relying on the UI?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;index=_audit sourcetype=audittrail action="search" info="completed" savedsearch_name=[your alert]&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 23:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552112#M10513</guid>
      <dc:creator>anthonymelita</dc:creator>
      <dc:date>2021-05-18T23:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alert doesn't run each minute</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552223#M10514</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry, I'm using splunk 6.4.2&lt;/P&gt;&lt;P&gt;I find this command :&lt;/P&gt;&lt;P&gt;index=_internal "INFO StreamedSearch - Streamed search connection terminated" savedsearch_name="My_Alert" | table _time, search_id, server, active_searches, elapsedTime, search, savedsearch_name&lt;/P&gt;&lt;P&gt;And the frequency is the same. I schedule a mail for each alert, and it's the same in my outlook than on splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 14:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-doesn-t-run-each-minute/m-p/552223#M10514</guid>
      <dc:creator>mclane1</dc:creator>
      <dc:date>2021-05-19T14:53:35Z</dc:date>
    </item>
  </channel>
</rss>

