<?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 in splunk in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305290#M5484</link>
    <description>&lt;P&gt;When the search frequency and time range are different (search runs every minute but looks back 2 hrs every time) there are events which will be overlapping in multiple alert execution, hence duplicate alerts. Best option is to keep them in sync, as suggested by @dineshraj9. Also, unless it's really critical, setup a less frequent alert like every 10 or 15 mins instead of every minute. Also, in time range, allow some additional gap to account for indexing latency.&lt;/P&gt;

&lt;P&gt;E.g. Search time range &lt;CODE&gt;earliest=-12m@m latest=-2m@m&lt;/CODE&gt;  with cron as &lt;CODE&gt;2/10 * * * *&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 21:33:35 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-05-23T21:33:35Z</dc:date>
    <item>
      <title>alert in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305287#M5481</link>
      <description>&lt;P&gt;start time =   -2h@h   Finish Time =  now.&lt;BR /&gt;&lt;BR /&gt;
Can I use this in an alert in Splunk.. which will run my search every minute for the last 2 hours and will throw an alert if gets any result. &lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 04:29:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305287#M5481</guid>
      <dc:creator>loveforsplunk</dc:creator>
      <dc:date>2017-05-21T04:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: alert in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305288#M5482</link>
      <description>&lt;P&gt;Try running the search once and check how much time it takes. If you have huge volume of data being searched then ensure that there are not 2 concurrent execution. Setting up every minute for 2hr window would work fine, but if you are looking for a keyword in the raw events, it is advisable that the search window and frequency remain same.(search -2m@m to -1m@m every minute).&lt;/P&gt;

&lt;P&gt;Please check for timezone issue with the logs and fix them if any.&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 06:20:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305288#M5482</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-05-21T06:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: alert in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305289#M5483</link>
      <description>&lt;P&gt;I have one question here.. I am getting the alert when I kept the search as -2h@h to now but it seems it is taking from the beginning of hour. &lt;/P&gt;

&lt;P&gt;For ex: Suppose the search returns result at 10:36:18 AM  and I get an alert at  12:36:18 PM . But I think it is searching from the beginning of hour that is 10 AM so I keep on getting continuous alert. Can You please suggest anything .&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 21:17:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305289#M5483</guid>
      <dc:creator>loveforsplunk</dc:creator>
      <dc:date>2017-05-23T21:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: alert in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305290#M5484</link>
      <description>&lt;P&gt;When the search frequency and time range are different (search runs every minute but looks back 2 hrs every time) there are events which will be overlapping in multiple alert execution, hence duplicate alerts. Best option is to keep them in sync, as suggested by @dineshraj9. Also, unless it's really critical, setup a less frequent alert like every 10 or 15 mins instead of every minute. Also, in time range, allow some additional gap to account for indexing latency.&lt;/P&gt;

&lt;P&gt;E.g. Search time range &lt;CODE&gt;earliest=-12m@m latest=-2m@m&lt;/CODE&gt;  with cron as &lt;CODE&gt;2/10 * * * *&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 21:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305290#M5484</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-23T21:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: alert in splunk</title>
      <link>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305291#M5485</link>
      <description>&lt;P&gt;oh .. I get it now .. Thanks a lot for instant reply. And also thanks to Dinesh .. I did not get what he wanted to express &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Sorry Dinesh but Thanks to both of you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I am very new to Splunk so asking silly questions . Hope you didn't mind &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 21:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert-in-splunk/m-p/305291#M5485</guid>
      <dc:creator>loveforsplunk</dc:creator>
      <dc:date>2017-05-23T21:54:39Z</dc:date>
    </item>
  </channel>
</rss>

