<?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 suppression in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429131#M122740</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
You can do this by adjusting the cron schedule which looks something like this.&lt;BR /&gt;
    The cron syntax is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  0 7-19 * * 1-5  (run hourly, 7am-7pm inclusive, Mon-Fri) 
  0 7-16 * * 6  (run hourly, 7am-4pm inclusive, Saturday)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 21:32:46 GMT</pubDate>
    <dc:creator>pruthvikrishnap</dc:creator>
    <dc:date>2018-08-28T21:32:46Z</dc:date>
    <item>
      <title>Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429130#M122739</link>
      <description>&lt;P&gt;What is the best way to run a search to be alerted/emailed between 4pm-6am M-F, weekend and holidays?  Should the search include the times or be adjusted in the cron schedule or lookup table?  What would the example look like?  Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 20:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429130#M122739</guid>
      <dc:creator>ahuihou</dc:creator>
      <dc:date>2018-08-28T20:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429131#M122740</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
You can do this by adjusting the cron schedule which looks something like this.&lt;BR /&gt;
    The cron syntax is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  0 7-19 * * 1-5  (run hourly, 7am-7pm inclusive, Mon-Fri) 
  0 7-16 * * 6  (run hourly, 7am-4pm inclusive, Saturday)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 21:32:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429131#M122740</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2018-08-28T21:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429132#M122741</link>
      <description>&lt;P&gt;@ahuihou,&lt;/P&gt;

&lt;P&gt;It's always best to go for cron schedule for your scenario.&lt;/P&gt;

&lt;P&gt;Try below cron cmd to schedule for 4pm-6am runs at “At minute 0 past hour 16, 17, 18, 19, 20, 21, 22, 23, 0, 1, 2, 3, 4, 5, and 6.” of ever on everyday. Take cron from 00.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;00 16,17,18,19,20,21,22,23,00,1,2,3,4,5,6 * * *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Aug 2018 12:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429132#M122741</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-08-29T12:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429133#M122742</link>
      <description>&lt;P&gt;No alert during the daytime between 6am-4pm M-F.  I want an alert during 4pm-6am  + all weekend + all holidays.  The holidays would be tricky.  Would a lookup table or file be the best or a combination of cron + lookup?  If so, how is this accomplished?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 15:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429133#M122742</guid>
      <dc:creator>ahuihou</dc:creator>
      <dc:date>2018-08-29T15:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429134#M122743</link>
      <description>&lt;P&gt;I want to get alerted M-F 4pm-6am + all weekend + all holidays.  The tricky part would be the holidays.  Would a lookup table + cron be the way to go?  If so, how would I accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 16:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429134#M122743</guid>
      <dc:creator>ahuihou</dc:creator>
      <dc:date>2018-08-29T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429135#M122744</link>
      <description>&lt;P&gt;I want to get alerted M-F 4pm-6am + all weekend + all holidays.  The tricky part would be the holidays.  Would a lookup table + cron be the way to go?  If so, how would I accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 16:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429135#M122744</guid>
      <dc:creator>ahuihou</dc:creator>
      <dc:date>2018-08-29T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429136#M122745</link>
      <description>&lt;P&gt;then you can set an alert to trigger between 4pm-6am everyday.&lt;BR /&gt;
&lt;A href="https://crontab.guru/"&gt;https://crontab.guru/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429136#M122745</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2018-08-29T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429137#M122746</link>
      <description>&lt;P&gt;@ahuihou,&lt;/P&gt;

&lt;P&gt;As per ur comment. I look like u need alert for all whole calendar year .. so u don't wanna specify any day ... &lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429137#M122746</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-08-29T17:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429138#M122747</link>
      <description>&lt;P&gt;4pm-6am M-F&lt;BR /&gt;
all day Saturday and Sunday 24hours&lt;BR /&gt;
Holiday on Monday, all day Monday , Thanksgiving Thursday , all day Thursday.  Does that make sense?  &lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 20:35:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429138#M122747</guid>
      <dc:creator>ahuihou</dc:creator>
      <dc:date>2018-08-29T20:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alert suppression</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429139#M122748</link>
      <description>&lt;P&gt;@ahuihou,&lt;/P&gt;

&lt;P&gt;I think then you need to go for 4 different alert setup. &lt;BR /&gt;
I don't think you can achieve all condition in same cron schedule. &lt;BR /&gt;
Please try below option..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;“At minute 0 past hour 16, 17, 18, 19, 20, 21, 22, 23, 0, 1, 2, 3, 4, 5, and 6 on Monday, Tuesday, Wednesday, Thursday, and Friday.” 

00 16,17,18,19,20,21,22,23,00,1,2,3,4,5,6 * * Mon,Tue,Wed,Thu,Fri

“At minute 0 past every hour on Saturday and Sunday.” 

00 */1 * * Sat,Sun

“At minute 0 past every hour on Monday.” 

00 */1 * * Mon

“At minute 0 past every hour on Thursday.” 

00 */1 * * Thu
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks ..&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 04:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-suppression/m-p/429139#M122748</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-08-30T04:45:28Z</dc:date>
    </item>
  </channel>
</rss>

