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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...