<?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 based on time range and message in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88649#M1232</link>
    <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2013 21:54:46 GMT</pubDate>
    <dc:creator>Jiten009</dc:creator>
    <dc:date>2013-04-09T21:54:46Z</dc:date>
    <item>
      <title>Alert based on time range and message</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88646#M1229</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I want to set alerts based on the message in a particular time range. My logs look like :&lt;/P&gt;

&lt;P&gt;08 Apr 2013 11:31:48,987 INFO Scheduler-Job-3 FileUtil - time=2013-04-08T11:31:48.987CDT,Level=Info,Message = File scheduler done&lt;/P&gt;

&lt;P&gt;This task will execute every day at 11.30, so I want to set an alert if "File scheduler done" message is not appearing in logs between 11.30 to 11.40.&lt;/P&gt;

&lt;P&gt;Please help me in creating such alert.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 16:32:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88646#M1229</guid>
      <dc:creator>Jiten009</dc:creator>
      <dc:date>2013-04-09T16:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alert based on time range and message</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88647#M1230</link>
      <description>&lt;P&gt;Try this definiing it this way :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search = "File scheduler done"
start time = @d+11h+30m
end time = @d+11h+40m
schedule type = cron
cron schedule = 45 11 * * *
alert condition = if number of events is equal to 0
alert mode = once per search
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2013 19:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88647#M1230</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-04-09T19:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alert based on time range and message</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88648#M1231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I tried this way and its working. I am not sure if it fails to alert in any exceptional scenario.&lt;/P&gt;

&lt;P&gt;earliest=@d+690m latest=@d+700m AND Message != "File scheduler done"&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 21:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88648#M1231</guid>
      <dc:creator>Jiten009</dc:creator>
      <dc:date>2013-04-09T21:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alert based on time range and message</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88649#M1232</link>
      <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 21:54:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-based-on-time-range-and-message/m-p/88649#M1232</guid>
      <dc:creator>Jiten009</dc:creator>
      <dc:date>2013-04-09T21:54:46Z</dc:date>
    </item>
  </channel>
</rss>

