check_log_freshness
Detect logs that haven't been updated within a specified time to find automation jobs that may have stopped running. This liveness check requires no instrumentation.
Instructions
Report logs that have not been written to recently.
A daily job whose log is 26 hours old has not run. This is the cheapest liveness check available and it requires no instrumentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | *.log | |
| directory | Yes | ||
| max_age_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |