<?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: How to stop alerts from being generated during maintenance. in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615313#M14327</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249495"&gt;@Rakzskull&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if they are few, the easiest way it to manually disable them during maintenence period.&lt;/P&gt;&lt;P&gt;If you want to disable all the alert and you haven't scheduled reports or dashboards, you could disable the eMail configuration, so the alerts are triggered but the emails aren't sent.&lt;/P&gt;&lt;P&gt;There's a more elegant way, but it requires a little bit of work:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a lookup (called e.g. maintenance.csv) containing only one columns (e.g. maintenance) and only two values (yes/not),&lt;/LI&gt;&lt;LI&gt;in each alert add the condition maintenance=not.&lt;/LI&gt;&lt;LI&gt;In this way, modifying the value in the lookup you stop all the alerts.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This surely is an interesting new feature, I hint to add it to Splunk Ideas.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 07:20:33 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-09-30T07:20:33Z</dc:date>
    <item>
      <title>How to stop alerts from being generated during maintenance?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615305#M14326</link>
      <description>&lt;P&gt;I've seen a few posts on the subject, but I'd like to know how we can disable the multiple alerts throughout the maintenance window.&lt;/P&gt;
&lt;P&gt;For example, I'd like to disable alerts 1, 2, and 3 from Saturday 11:30 p.m. until Sunday 6:00 a.m.&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;
&lt;P&gt;------------------------------------&lt;/P&gt;
&lt;P&gt;reference alert query&lt;/P&gt;
&lt;P&gt;index=ABC sourcetype=XYZ ("Internal System Error")&lt;BR /&gt;|stats count&lt;BR /&gt;|where count &amp;gt;=30&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 14:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615305#M14326</guid>
      <dc:creator>Rakzskull</dc:creator>
      <dc:date>2022-09-30T14:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop alerts from being generated during maintenance.</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615313#M14327</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249495"&gt;@Rakzskull&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if they are few, the easiest way it to manually disable them during maintenence period.&lt;/P&gt;&lt;P&gt;If you want to disable all the alert and you haven't scheduled reports or dashboards, you could disable the eMail configuration, so the alerts are triggered but the emails aren't sent.&lt;/P&gt;&lt;P&gt;There's a more elegant way, but it requires a little bit of work:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create a lookup (called e.g. maintenance.csv) containing only one columns (e.g. maintenance) and only two values (yes/not),&lt;/LI&gt;&lt;LI&gt;in each alert add the condition maintenance=not.&lt;/LI&gt;&lt;LI&gt;In this way, modifying the value in the lookup you stop all the alerts.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This surely is an interesting new feature, I hint to add it to Splunk Ideas.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 07:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615313#M14327</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-30T07:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop alerts from being generated during maintenance.</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615319#M14328</link>
      <description>&lt;P&gt;It could also be done via the REST API:&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Alerting/How-do-you-disable-enable-alerts-via-the-REST-API/m-p/441558" target="_blank"&gt;https://community.splunk.com/t5/Alerting/How-do-you-disable-enable-alerts-via-the-REST-API/m-p/441558&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is also a good suggestion here to group the alerts by app, then disable the app:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Alerting/How-can-we-suppress-a-set-of-alerts/m-p/480144" target="_blank"&gt;https://community.splunk.com/t5/Alerting/How-can-we-suppress-a-set-of-alerts/m-p/480144&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need to add more points to this idea:&amp;nbsp; +4 from me &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.splunk.com/ideas/PLECID-I-297" target="_blank"&gt;https://ideas.splunk.com/ideas/PLECID-I-297&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 07:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615319#M14328</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2022-09-30T07:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop alerts from being generated during maintenance.</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615325#M14329</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm a rookie, so I don't know much about creating lookup csv. If you could explain the detailed technique with steps, I'd appreciate it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 08:25:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615325#M14329</guid>
      <dc:creator>Rakzskull</dc:creator>
      <dc:date>2022-09-30T08:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop alerts from being generated during maintenance.</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615335#M14330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249495"&gt;@Rakzskull&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you don't know how to create a lookup I hint to follow the Splunk Search Tutorial (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/SearchTutorial/WelcometotheSearchTutorial" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/SearchTutorial/WelcometotheSearchTutorial&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Anyway, you have to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;go in [Settings -- Lookup -- Lookup table files --&amp;nbsp;Lookup table files] and create the lookup with one column and one row&lt;/LI&gt;&lt;LI&gt;go in&amp;nbsp;[Settings -- Lookup -- Lookup table files --&amp;nbsp;Lookup definitions] and create a definition for the lookup&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 08:54:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-alerts-from-being-generated-during-maintenance/m-p/615335#M14330</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-30T08:54:03Z</dc:date>
    </item>
  </channel>
</rss>

