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!

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...