<?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 How to setup Splunk Alert between given times in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197721#M3439</link>
    <description>&lt;P&gt;I kept cycling through the options for the Alert, and I couldn't figure out a way that allows me to setup an alert to run realtime but only start between the hours 7:00PM-6:00AM?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2014 21:24:29 GMT</pubDate>
    <dc:creator>thomashigginson</dc:creator>
    <dc:date>2014-06-12T21:24:29Z</dc:date>
    <item>
      <title>How to setup Splunk Alert between given times</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197721#M3439</link>
      <description>&lt;P&gt;I kept cycling through the options for the Alert, and I couldn't figure out a way that allows me to setup an alert to run realtime but only start between the hours 7:00PM-6:00AM?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197721#M3439</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-12T21:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Splunk Alert between given times</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197722#M3440</link>
      <description>&lt;P&gt;Alerts are results of scheduled searches and those are subject to the defined cron schedule. Your cron schedule would look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;*/5 19,20,21,22,23,24,01,02,03,04,06 * * *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to run the search every five minutes between the hours of 7pm and 6am. &lt;BR /&gt;
You shall not use a real-time search, because real-time searches don't end. Pick as large of an interval as you can afford. 5 Minutes is generous for most use cases I have come across. Real-time is overrated... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197722#M3440</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2014-06-12T21:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Splunk Alert between given times</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197723#M3441</link>
      <description>&lt;P&gt;For more information @thomashigginson on scheduled alerts and defining cron schedules, refer to the following documentation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Alert/Definescheduledalerts#Schedule_the_alert"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Alert/Definescheduledalerts#Schedule_the_alert&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197723#M3441</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2014-06-12T21:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Splunk Alert between given times</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197724#M3442</link>
      <description>&lt;P&gt;*/5 19,20,21,22,23,24,01,02,03,04,05,06 * * *&lt;BR /&gt;
is giving me an invalid cron, and I checked the format multiple times. I also tried */5 19-06 * * * and it still didn't work. I keep getting invalid cron. Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 22:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197724#M3442</guid>
      <dc:creator>thomashigginson</dc:creator>
      <dc:date>2014-06-12T22:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Splunk Alert between given times</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197725#M3443</link>
      <description>&lt;P&gt;Try */5 19-24,1-6 * * *&lt;/P&gt;

&lt;P&gt;It appears that ranges have to be ascending, i.e. 19-6 doesn't work, but the above does.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 22:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-Splunk-Alert-between-given-times/m-p/197725#M3443</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2014-06-12T22:24:35Z</dc:date>
    </item>
  </channel>
</rss>

