Splunk AppDynamics

Health Rule Schedule

Pablo_Jaña
Explorer

Hi.

How to set up a Health Rule from monday to fryday and from 06:00 to 23:59 h?

I'm trying using this expresions

Start: 0 6 * * 1-5 and 0 6 * * MON-FRY and 0 0 6 ? * MON-FRI

End: 59 23 * * 1-5 and 59 23 * * MON-FRY

But this message appears:

"Error
0 6 * * MON-FRI is not a parseable cron expression"

Wich is the right way to set up this?

Thanks in advance for your help

 
 
 
 
 
Labels (3)
0 Karma
1 Solution

Morelz
Motivator

Hi Pablo

The schedule you are trying to set is covered by the out of the box Weekly setup.

Use Weekly Setting for the schedule, set only Mon-Friday Days and set the start and end times.

Is there a reason why you are trying to do it with a custom cron schedule?

Ciao

View solution in original post

0 Karma

Morelz
Motivator

Hi Pablo

The schedule you are trying to set is covered by the out of the box Weekly setup.

Use Weekly Setting for the schedule, set only Mon-Friday Days and set the start and end times.

Is there a reason why you are trying to do it with a custom cron schedule?

Ciao

0 Karma

Pablo_Jaña
Explorer

Hi Mario, you're right.

I already tried that

image.png

I made a mistake, not in the configuration but misunderstanding the received email.

The  configuration it's working fine, but the time shown in the emails body it's on PDT time and not in my country time, that was my mistake.

Thanks by the way, because I noted my mistake after read your message.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...