You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
excerpt: Find out how to forward your logs from an OVHcloud Load Balancer to Logs Data Platform
4
-
updated: 2025-05-26
4
+
updated: 2025-06-12
5
5
---
6
6
7
7
## Objective
@@ -10,8 +10,14 @@ The purpose of this guide is to show you how to enable the forwarding of logs fr
10
10
If you would like to find out more about Logs Data Platform before reading this guide, please refer to the [Logs Data Platform introduction guide](/pages/manage_and_operate/observability/logs_data_platform/getting_started_introduction_to_LDP).
11
11
12
12
> [!primary]
13
-
> In order to use this feature, you must first make a refresh call to the Load Balancers whose logs you want to collect.
13
+
> In order to use this feature, you must first make a refresh call via the API to the Load Balancers whose logs you want to collect.
14
14
> This is necessary to ensure that the logging format of the OVHcloud Load Balancer is up to date.
15
+
> You can use the API call below, where **serviceName** is the internal name of your Load Balancer, which you can find in the Load Balancer management page in the OVHcloud Control Panel or using the [dedicated API](https://eu.api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing) call.
16
+
>
17
+
18
+
> [!api]
19
+
>
20
+
> @api {v1} /ipLoadbalancing POST /ipLoadbalancing/{serviceName}/refresh
15
21
>
16
22
17
23
## Glossary
@@ -44,21 +50,21 @@ The forwarded logs are generated by [HAproxy](https://en.wikipedia.org/wiki/HAPr
44
50
|------------|-------------|---------|
45
51
| service_name | The name of the Load Balancer that received the request/connection | String |
46
52
| date_time | The timestamp at which the request/connection was made | datetime (with millisecond resolution) e.g. 25/Mar/2024:14:07:19.536 |
47
-
| zone | The OVHcloud region to which the load balancer belongs | String |
53
+
| zone | The OVHcloud region to which the Load Balancer belongs | String |
48
54
| client_ip | IP address of the client that initiated the TCP connection to the Load Balancer | IP |
49
55
| client_port_int | TCP port of the client that initiated the TCP connection to the Load Balancer | Integer |
50
56
| frontend_name | Name of the frontend of your Load Balancer | String |
51
57
| frontend_ip | IP address of the frontend of your Load Balancer | IP |
52
-
| frontend_port_int | TCP port of the frontent of your Load Balancer | Integer |
53
-
| backend_name | Name of the backend server connected to your Load Balancer | String |
54
-
| backend_source_ip | IP address of the backend server connected to your Load Balancer| IP |
55
-
| backend_source_port_int |TCP port of the backend server connected to your Load Balancer| Integer |
56
-
| server_ip |||
57
-
| server_port_int |||
58
+
| frontend_port_int | TCP port of the frontend of your Load Balancer | Integer |
59
+
| backend_name | Name of the NAT source used by the Load Balancer to connect to your backend servers| String |
60
+
| backend_source_ip |Source IP address used by the Load Balancer to connect to your backend servers| IP |
61
+
| backend_source_port_int |Source port used by the Load Balancer to connect to your backend servers| Integer |
62
+
| server_ip |IP address of the backend server connected to your Load Balancer | IP|
63
+
| server_port_int |TCP port of the backend server connected to your Load Balancer | Integer|
58
64
| termination_state | The session termination indicator: 2 letters for TCP, 4 letters for HTTP, all the details on [HAProxy documentation page](https://docs.haproxy.org/2.6/configuration.html#8.5){.external}| String (e.g. "----") |
59
-
| bytes_read_int |||
60
-
| bytes_uploaded_int |||
61
-
| time_duration_int | The time in millisecondsthe TCP session has been opened when this request is made | Integer |
65
+
| bytes_read_int |Size (in bytes) of the response sent by the Load Balancer to the client | Integer|
66
+
| bytes_uploaded_int |Size (in bytes) of the request sent by the client to the Load Balancer | Integer|
67
+
| time_duration_int | The duration (in milliseconds) of the TCP session at the time the request was made | Integer |
0 commit comments