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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...