Skip to content

Commit 7951fc9

Browse files
committed
fix(lb): add access logs info
1 parent c6013d8 commit 7951fc9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
-42.8 KB
Loading

pages/load-balancer/how-to/monitor-lb-cockpit.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ From the Scaleway Cockpit dashboards homepage, click **Dashboards** in the side
124124

125125
At the top of the dashboard, you can configure parameters, which control which logs are displayed. In addition to all the same parameters as for [metrics](#choosing-metric-parameters), you can also **filter** for specific log values, and select the **log level** (`info`, `warning`, `alert`).
126126

127-
### Logged events
127+
### Event logs
128128

129129
The following events are logged:
130130

@@ -150,4 +150,16 @@ Logs when a backend server that was previously inaccessible becomes accessible a
150150

151151
Logs when a frontend's SSL/TLS certificate is about to expire or has expired.
152152

153+
### Access logs
153154

155+
<Message type="tip">
156+
Access logs are not collected by default. To enable access logs for a given frontend, use the [Update frontend](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-frontends-update-a-frontend) call in the API, and set the field `enable_access_logs` to `true`. You cannot currently enable access logs via the Scaleway console.
157+
</Message>
158+
159+
Access logs capture details of incoming network traffic handled by the Load Balancer. Each log is shown in the following format:
160+
161+
```
162+
<date> <timestamp> <client IP: client port> <frontend name / frontend IP: frontend port> <backend name / backend server IP: backend server port>
163+
```
164+
165+
Depending on the protocol, the HTTP request and status code, or, the client SNI, completes the log.

0 commit comments

Comments
 (0)