Monitoring Splunk

How to temporarily Disable Monitoring on a Server(s) using PowerShell?

Strange_Brew
Observer

I want to temporarily disable alerts on servers while they are being patched or put into maintenance mode. Is it possible to do this via PowerShell/REST?

0 Karma

chaker
Contributor

If this for Splunk Enterprise Security or Splunk IT Service Intelligence, see the docs about maintance modes and noteable event suppression.
ITSI
https://docs.splunk.com/Documentation/ITSI/4.13.1/Configure/AboutMW
ES
https://docs.splunk.com/Documentation/ES/7.0.1/User/Takeactiononanotableevent#:~:text=Suppress%20a%2....

For Splunk Enterprise alerts via REST you could try this solution:
https://community.splunk.com/t5/Alerting/How-do-you-disable-enable-alerts-via-the-REST-API/m-p/44155...

Stopping the universal forwarder process as part of maintaince could be another option, but there are implication's to this. Transient inputs like scripted or network inputs will be lost, also doing this on mass on as a regular occurence may not result in the most optimal index/buckets.

 

 

 

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...