Monitoring Splunk

Cron expression for alert

Ashwini008
Builder

Hi,

I need help with cron expression for the alert so that it should not trigger the alert during the following time interval.

 

Monday -to- Friday : 9:30 AM to 2:00 PM 

Saturday - Sunday : From 9:30 AM (whole day of saturday ) to Sunday 2:00 PM 

Thank you

 

Labels (1)
Tags (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

I think you would need more than one cron expression to cover this sort of time frame and it also depends on how often within this timeframe you want to the alert search to be executed - you might be better off considering building the time constraints, or at least some of it into the search - for example, execute the search every 10 minutes between 2pm and 10am but ignore (remove) results if after 9:30

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...