Alerting

How to configure an alert to only send alert emails during certain hours of the day?

mmartinez13
New Member

I have an email alert setup to send an email whenever anyone connects to a certain device via ssh. Is there a way to set up the alert so I am not alerted if the ssh connection is between the hours of 23:00 and 01:00, but am alerted the other 22 hours of the day?

Tags (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps you could use cron to schedule the alert so it only runs 0100-2300. Something like 0 1-23 * * *.

---
If this reply helps you, Karma would be appreciated.
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 ...