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!

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 ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...