<?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: Is there an easy way to use the REST API to disable Splunk alerts during a maintenance window? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183963#M3087</link>
    <description>&lt;P&gt;Is a Splunk restart required after making this call? &lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2017 13:38:24 GMT</pubDate>
    <dc:creator>pretzel2</dc:creator>
    <dc:date>2017-12-18T13:38:24Z</dc:date>
    <item>
      <title>Is there an easy way to use the REST API to disable Splunk alerts during a maintenance window?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183959#M3083</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Is there an easy way to use the API to disable Splunk alerts during a maintenance window?  Say for instance, disable the Send Email action for the alert via Rest API.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Jay&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 18:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183959#M3083</guid>
      <dc:creator>titleistfour</dc:creator>
      <dc:date>2015-01-14T18:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to use the REST API to disable Splunk alerts during a maintenance window?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183960#M3084</link>
      <description>&lt;P&gt;Looks like I just need to use the API to send&lt;/P&gt;

&lt;P&gt;POST saved/searches/{name} with actions = rss for the parameters to disable.&lt;BR /&gt;
POST saved/searches/{name} with actions = rss,email for the parameters to enable.&lt;/P&gt;

&lt;P&gt;I think.&lt;/P&gt;

&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 18:36:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183960#M3084</guid>
      <dc:creator>titleistfour</dc:creator>
      <dc:date>2015-01-14T18:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to use the REST API to disable Splunk alerts during a maintenance window?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183961#M3085</link>
      <description>&lt;P&gt;This might help someone in the future who needs to use Curl.&lt;/P&gt;

&lt;P&gt;To disable email for an alert&lt;BR /&gt;
    curl -k -u admin:pass &lt;A href="https://splunkserver:8089/servicesNS/nobody/search/saved/searches/MyAlert1"&gt;https://splunkserver:8089/servicesNS/nobody/search/saved/searches/MyAlert1&lt;/A&gt; -d "actions="&lt;/P&gt;

&lt;P&gt;To enable email for an alert&lt;BR /&gt;
    curl -k -u admin:pass &lt;A href="https://splunkserver:8089/servicesNS/nobody/search/saved/searches/MyAlert1"&gt;https://splunkserver:8089/servicesNS/nobody/search/saved/searches/MyAlert1&lt;/A&gt; -d "actions=email"&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 22:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183961#M3085</guid>
      <dc:creator>titleistfour</dc:creator>
      <dc:date>2015-01-14T22:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to use the REST API to disable Splunk alerts during a maintenance window?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183962#M3086</link>
      <description>&lt;P&gt;@titleistfour does  this apply if we are triggering alert notifications from Splunk through Microsoft outlook as well ? also if we disable during the maintenance ,do they get stored an trigger in bulk once we setup the connection after maintenance?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 18:12:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183962#M3086</guid>
      <dc:creator>srisplunk12</dc:creator>
      <dc:date>2017-03-29T18:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to use the REST API to disable Splunk alerts during a maintenance window?</title>
      <link>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183963#M3087</link>
      <description>&lt;P&gt;Is a Splunk restart required after making this call? &lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Is-there-an-easy-way-to-use-the-REST-API-to-disable-Splunk/m-p/183963#M3087</guid>
      <dc:creator>pretzel2</dc:creator>
      <dc:date>2017-12-18T13:38:24Z</dc:date>
    </item>
  </channel>
</rss>

