<?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 Black out my splunk alert for particular period ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354126#M162291</link>
    <description>&lt;P&gt;How to Black out my splunk alert for particular period?&lt;/P&gt;

&lt;P&gt;There are two different scenarios&lt;BR /&gt;
firest alert:&lt;/P&gt;

&lt;P&gt;1)16:30 ET Saturday to 00:30 ET Monday on all weekends ---&amp;gt;black out time&lt;/P&gt;

&lt;P&gt;index=Test_PROD source="common" LEGACY_SYSTEM_NAME=Test|rename GUID as CS_GUID| join type=outer  CS_GUID [search source="errordetail" NOT  [search index=Test_PROD  sourcetype="Logging" SEVA+Test OR ACES OR NPI 0x00030001  |rename GUID as CS_GUID | table CS_GUID]] | stats count(eval(TRAN_TYPE="275")) as "T275Count" count(eval(ERROR_CODE="Y42R")) as Y42RCount  by LEGACY_SYSTEM_NAME | eval Y42RPerc = Y42RCount*100/T275Count| where Y42RCount &amp;gt;5&lt;/P&gt;

&lt;P&gt;Second alert:&lt;BR /&gt;
00:00 to 08:00 ET on weekdays and 20:00 to 08:00 ET on weekends  ---&amp;gt;black out time&lt;/P&gt;

&lt;P&gt;index=Test_PROD source="common" LEGACY_SYSTEM_NAME=Test|rename GUID as CS_GUID| join type=outer  CS_GUID [search source="errordetail" NOT  [search index=Test_PROD  sourcetype="Logging" SEVA+Test OR ACES OR NPI 0x00030001  |rename GUID as CS_GUID | table CS_GUID]] | stats count(eval(TRAN_TYPE="275")) as "T275Count" count(eval(ERROR_CODE="Y42R")) as Y42RCount  by LEGACY_SYSTEM_NAME | eval Y42RPerc = Y42RCount*100/T275Count| where Y42RCount &amp;gt;5&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:29:55 GMT</pubDate>
    <dc:creator>karthi2809</dc:creator>
    <dc:date>2020-09-29T18:29:55Z</dc:date>
    <item>
      <title>How to Black out my splunk alert for particular period ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354126#M162291</link>
      <description>&lt;P&gt;How to Black out my splunk alert for particular period?&lt;/P&gt;

&lt;P&gt;There are two different scenarios&lt;BR /&gt;
firest alert:&lt;/P&gt;

&lt;P&gt;1)16:30 ET Saturday to 00:30 ET Monday on all weekends ---&amp;gt;black out time&lt;/P&gt;

&lt;P&gt;index=Test_PROD source="common" LEGACY_SYSTEM_NAME=Test|rename GUID as CS_GUID| join type=outer  CS_GUID [search source="errordetail" NOT  [search index=Test_PROD  sourcetype="Logging" SEVA+Test OR ACES OR NPI 0x00030001  |rename GUID as CS_GUID | table CS_GUID]] | stats count(eval(TRAN_TYPE="275")) as "T275Count" count(eval(ERROR_CODE="Y42R")) as Y42RCount  by LEGACY_SYSTEM_NAME | eval Y42RPerc = Y42RCount*100/T275Count| where Y42RCount &amp;gt;5&lt;/P&gt;

&lt;P&gt;Second alert:&lt;BR /&gt;
00:00 to 08:00 ET on weekdays and 20:00 to 08:00 ET on weekends  ---&amp;gt;black out time&lt;/P&gt;

&lt;P&gt;index=Test_PROD source="common" LEGACY_SYSTEM_NAME=Test|rename GUID as CS_GUID| join type=outer  CS_GUID [search source="errordetail" NOT  [search index=Test_PROD  sourcetype="Logging" SEVA+Test OR ACES OR NPI 0x00030001  |rename GUID as CS_GUID | table CS_GUID]] | stats count(eval(TRAN_TYPE="275")) as "T275Count" count(eval(ERROR_CODE="Y42R")) as Y42RCount  by LEGACY_SYSTEM_NAME | eval Y42RPerc = Y42RCount*100/T275Count| where Y42RCount &amp;gt;5&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:29:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354126#M162291</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2020-09-29T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Black out my splunk alert for particular period ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354127#M162292</link>
      <description>&lt;P&gt;Foe weekend you want 20:00 to 08:00 ET on weekends this or 16:30 ET Saturday to 00:30 ET Monday on all weekends?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 06:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354127#M162292</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-15T06:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Black out my splunk alert for particular period ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354128#M162293</link>
      <description>&lt;P&gt;Hi p_gurav&lt;/P&gt;

&lt;P&gt;mentioned two alert scenarios&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 06:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354128#M162293</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2018-03-15T06:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Black out my splunk alert for particular period ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354129#M162294</link>
      <description>&lt;P&gt;How frequently this alerts are running? You can do this black out thing with &lt;CODE&gt;cron&lt;/CODE&gt; schedule, but to help you with  that I need alert frequency.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 07:39:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354129#M162294</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-15T07:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Black out my splunk alert for particular period ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354130#M162295</link>
      <description>&lt;P&gt;every 30 min&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 09:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354130#M162295</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2018-03-15T09:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Black out my splunk alert for particular period ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354131#M162296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Apparently it's not possible to put all condition in 1 cron schedule,  you have to create 4 separate alert with below suggested cron.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;16:30 ET Saturday to 00:30 ET Monday on all weekends :&lt;/P&gt;

&lt;P&gt;Cron : */30 * * * 1,2,3,4,5&lt;BR /&gt;
          : */30 0-16 * * 6&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;00:00 to 08:00 ET on weekdays and 20:00 to 08:00 ET on weekends&lt;BR /&gt;
Cron : */30 9-23 * * 1,2,3,4,5&lt;BR /&gt;
       : */30 8-19 * * 0,6&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Black-out-my-splunk-alert-for-particular-period/m-p/354131#M162296</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-15T10:39:17Z</dc:date>
    </item>
  </channel>
</rss>

