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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...