lb/Verify Health Check Logging Enabled
Check if health check logging is enabled.
Product: Load balancing
Step Type: GATEWAY
Description
None
Success Reason
Health check logging is enabled for health check {hc_url}.
Uncertain Reason
Logging is not enabled for health check {hc_url}. Lack of logs hinders troubleshooting, as logs provide visibility into health check state changes and probe details needed to diagnose failures.
Uncertain Remediation
Enable logging for the health check using the following gcloud
command:
gcloud compute health-checks update {protocol} {hc_name} {additional_flags} --enable-logging
This will log any future changes in health status, but won’t show past activity. Note that new health check logs will only appear when a health state transition occurs.