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?

Labels (1)
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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...