Load Balancing logs provide a historical view of status changes to your origins and how those status changes affect pool health.
Load Balancing only logs events that represent a status change for an origin, from healthy to unhealthy or vice versa.
Health check event objects have the following properties:
|Name / type||Description / example||Constraints|
|idinteger||Integer identifier that uniquely represents the health check event.||Default value: |
|originsarray||An array of objects representing the origin servers associated with the pool.|
|poolobject||An object that represents the pool for which the health check event was generated.|
|timestampstring (date-time)||The time at which the event was recorded|
Load Balancing Logs are available from the Traffic app of the Cloudflare dashboard within the Load Balancing Analytics tab under the Logs submenu. You can filter the logs by Date, Pool Health, Pool, Origin Health, and/or Origin.
Click the expansion arrow at the far right of the event to expose more detail, including a list of healthy origins for the pool that was the subject of the event, the health threshold for that pool, Pool ID, and the origin address. Failure events include a reason for the failure and a list of failed origins.
To list health check events, use the List Health Check Events API endpoint:
For a list of optional parameters, which are useful for filtering log results, see Cloudflare API v4 Documentation: Health Check Events.