<?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: Excluding weekends in alerts.. in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498644#M9114</link>
    <description>&lt;P&gt;you should have been able to find the &lt;CODE&gt;cron&lt;/CODE&gt; with ease which is &lt;CODE&gt;1-5&lt;/CODE&gt; in the last field:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Alert/CronExpressions"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Alert/CronExpressions&lt;/A&gt;&lt;BR /&gt;
Perhaps you cannot find where to enter the &lt;CODE&gt;cron&lt;/CODE&gt;?&lt;BR /&gt;
Click on the &lt;CODE&gt;Schedule&lt;/CODE&gt; setting and the last value should be &lt;CODE&gt;Run on Cron Schedule&lt;/CODE&gt; which when selected will add a new &lt;CODE&gt;Cron Expression&lt;/CODE&gt; setting to the dialog.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Mar 2020 14:32:03 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2020-03-21T14:32:03Z</dc:date>
    <item>
      <title>Is there a way we can exclude weekends from alerts?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498641#M9111</link>
      <description>&lt;P&gt;Is there a way we can exclude weekends from alerts?&lt;/P&gt;
&lt;P&gt;I have not been able to find cron expression.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 19:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498641#M9111</guid>
      <dc:creator>bsaujla131984</dc:creator>
      <dc:date>2020-06-18T19:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding weekends in alerts..</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498642#M9112</link>
      <description>&lt;P&gt;Hi @bsaujla131984,&lt;BR /&gt;
you have to ways to do this:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;modify cron, e.g. an alert every hour: &lt;CODE&gt;0 * * * 1-5&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;modify search excluding sunday and saturday: &lt;CODE&gt;index=your_index NOT (date_wday=saturday OR date_wday=sunday)&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;If, in addition, you want to exclude also holydays, you have to create a lookup containing all the dates in the year flagging holidays with a code and use it for the exclusions.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 08:36:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498642#M9112</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-03-21T08:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding weekends in alerts..</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498643#M9113</link>
      <description>&lt;P&gt;Never use the "free" &lt;CODE&gt;date_*&lt;/CODE&gt; fields; if you need them, calculate your own (which will show you that the "free" ones are not what you think they are).  They are pre-TZ-adjustment artifacts meant for debugging timestamping problems, NOT for general use.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 14:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498643#M9113</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-21T14:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding weekends in alerts..</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498644#M9114</link>
      <description>&lt;P&gt;you should have been able to find the &lt;CODE&gt;cron&lt;/CODE&gt; with ease which is &lt;CODE&gt;1-5&lt;/CODE&gt; in the last field:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Alert/CronExpressions"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Alert/CronExpressions&lt;/A&gt;&lt;BR /&gt;
Perhaps you cannot find where to enter the &lt;CODE&gt;cron&lt;/CODE&gt;?&lt;BR /&gt;
Click on the &lt;CODE&gt;Schedule&lt;/CODE&gt; setting and the last value should be &lt;CODE&gt;Run on Cron Schedule&lt;/CODE&gt; which when selected will add a new &lt;CODE&gt;Cron Expression&lt;/CODE&gt; setting to the dialog.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 14:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498644#M9114</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-21T14:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding weekends in alerts..</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498645#M9115</link>
      <description>&lt;P&gt;Thanks Woodcock. &lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 02:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-a-way-we-can-exclude-weekends-from-alerts/m-p/498645#M9115</guid>
      <dc:creator>bsaujla131984</dc:creator>
      <dc:date>2020-03-22T02:47:13Z</dc:date>
    </item>
  </channel>
</rss>

