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-06-13
4
+
updated: 2025-06-16
5
5
---
6
6
7
7
## Objective
@@ -12,7 +12,7 @@ If you would like to find out more about Logs Data Platform before reading this
12
12
> [!primary]
13
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.
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://api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing) call.
16
16
>
17
17
18
18
> [!api]
@@ -87,7 +87,7 @@ This feature is not yet available in the Control Panel.
87
87
88
88
You will have to define the targeted *Stream* of one of your LDP accounts to which you want your logs forwarded. The enablement of the forwarding will create a subscription for this stream id.
89
89
90
-
You can retrieve the API specifications in the [OVH API Portal](https://eu.api.ovh.com/console-preview/?section=%2Fdbaas%2Flogs&branch=v1#post-/dbaas/logs/-serviceName-/output/graylog/stream).
90
+
You can retrieve the API specifications in the [OVH API Portal](https://api.ovh.com/console-preview/?section=%2Fdbaas%2Flogs&branch=v1#post-/dbaas/logs/-serviceName-/output/graylog/stream).
91
91
92
92
#### Step 1 - Retrieve your target Stream (and ID)
93
93
@@ -116,11 +116,11 @@ Use the following API call to create a subscription:
116
116
117
117
You will need to replace:
118
118
119
-
-**serviceName**: this is the internal name of your Load Balancer, you can find it 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.
119
+
-**serviceName**: this is the internal name of your Load Balancer, you can find it in the Load Balancer management page in the OVHcloud Control Panel or using the [dedicated API](https://api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing) call.
120
120
121
121
The POST request has a payload that requires:
122
122
123
-
-`kind`: the kind of log you want to forward, either "http" or "tcp". You can find available kinds using the [dedicated API](https://eu.api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/log/kind) call.
123
+
-`kind`: the kind of log you want to forward, either "http" or "tcp". You can find available kinds using the [dedicated API](https://api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/log/kind) call.
124
124
-`streamId`: the target data stream of your LDP account where you want your Load Balancer logs to be forwarded to.
125
125
126
126
```shell
@@ -210,6 +210,6 @@ To delete your subscription you can use the following API call:
210
210
211
211
## Go further
212
212
213
-
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](https://www.ovhcloud.com/en-gb/professional-services/) to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.
213
+
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.
Copy file name to clipboardExpand all lines: pages/network/load_balancer/use_api_logs_2_customers/guide.fr-fr.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Transfert des logs (Log Forwarding) TCP / HTTP / HTTPS du Load Balancer OVHcloud
3
3
excerpt: Découvrez comment transférer vos logs depuis un Load Balancer OVHcloud vers Logs Data Platform
4
-
updated: 2025-06-13
4
+
updated: 2025-06-16
5
5
---
6
6
7
7
## Objectif
@@ -12,7 +12,7 @@ Si vous souhaitez en savoir plus sur Logs Data Platform avant de lire ce guide,
12
12
> [!primary]
13
13
> Afin d'utiliser cette fonctionnalité, vous devez d'abord effectuer un appel de rafraîchissement via l'API aux Load Balancers dont vous souhaitez collecter les logs.
14
14
> Ceci est nécessaire afin de s'assurer que le format des logs de l'OVHcloud Load Balancer est à jour.
15
-
> Vous pouvez utiliser l'appel API ci-dessous, où **serviceName** est le nom interne de votre Load Balancer, que vous pouvez retrouver sur la page de gestion du Load Balancer de votre espace client OVHcloud ou en utilisant [l'appel API dédié](https://eu.api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing).
15
+
> Vous pouvez utiliser l'appel API ci-dessous, où **serviceName** est le nom interne de votre Load Balancer, que vous pouvez retrouver sur la page de gestion du Load Balancer de votre espace client OVHcloud ou en utilisant [l'appel API dédié](https://api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing).
16
16
17
17
> [!api]
18
18
>
@@ -86,7 +86,7 @@ Cette fonctionnalité n'est pas encore disponible dans l'espace client.
86
86
87
87
Vous devrez définir le *Stream* ciblé de l’un de vos comptes LDP vers lequel vous souhaitez transférer vos logs. L'activation du *forwarding* va créer un abonnement pour cet ID de flux.
88
88
89
-
Vous pouvez récupérer les spécifications de l'API dans le portail [OVH API](https://eu.api.ovh.com/console-preview/?section=%2Fdbaas%2Flogs&branch=v1#post-/dbaas/logs/-serviceName-/output/graylog/stream).
89
+
Vous pouvez récupérer les spécifications de l'API dans le portail [OVH API](https://api.ovh.com/console-preview/?section=%2Fdbaas%2Flogs&branch=v1#post-/dbaas/logs/-serviceName-/output/graylog/stream).
90
90
91
91
#### Étape 1 - Récupérer le Stream (et l'ID) cible
92
92
@@ -115,11 +115,11 @@ Utilisez l'appel API suivant pour créer un abonnement :
115
115
116
116
Vous devrez remplacer :
117
117
118
-
-**serviceName** : il s'agit du nom interne de votre Load Balancer, que vous pouvez retrouver sur la page de gestion du Load Balancer de votre espace client OVHcloud ou en utilisant [l'appel API dédié](https://eu.api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing).
118
+
-**serviceName** : il s'agit du nom interne de votre Load Balancer, que vous pouvez retrouver sur la page de gestion du Load Balancer de votre espace client OVHcloud ou en utilisant [l'appel API dédié](https://api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing).
119
119
120
120
La requête POST a une charge utile qui nécessite :
121
121
122
-
-`kind` : le type de journal que vous voulez transférer, soit « http » ou « tcp ». Vous pouvez trouver les types disponibles en utilisant [l'appel API dédié](https://eu.api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/log/kind).
122
+
-`kind` : le type de journal que vous voulez transférer, soit « http » ou « tcp ». Vous pouvez trouver les types disponibles en utilisant [l'appel API dédié](https://api.ovh.com/console/?section=%2FipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/log/kind).
123
123
-`streamId` : flux de données cible de votre compte LDP vers lequel vous souhaitez que vos logs du service Load Balancer soient transférés.
124
124
125
125
```shell
@@ -182,7 +182,7 @@ GET /ipLoadbalancing/{serviceName}/log/subscription/{subscriptionId}
182
182
Maintenant que vos logs sont ingérés et stockés dans votre flux de données Logs Data Platform, vous pouvez interroger vos logs et créer des tableaux de bord pour avoir une représentation graphique de vos logs en utilisant l'interface web de Graylog.
183
183
184
184
- Dans votre espace client, récupérez le nom d'utilisateur LDP (ex: logs-xxxx) et son mot de passe sur la page d'accueil de votre compte Logs Data Platform. Vous pouvez vous référer au [Guide de démarrage rapide pour Logs Data Platform](/pages/manage_and_operation/observability/logs_data_platform/getting_started_quick_start).
185
-
- Ouvrir l'interface utilisateur Graylog. Vous pouvez récupérer le lien sur la page d'accueil de votre compte ou en utilisant votre point d'accès en fonction de la région de votre compte (par exemple : la région de Gravelines est https://gra1.logs.ovh.com/).
185
+
- Ouvrir l'interface utilisateur Graylog. Vous pouvez récupérer le lien sur la page d'accueil de votre compte ou en utilisant votre point d'accès en fonction de la région de votre compte (par exemple : la région de Gravelines est `https://gra1.logs.ovh.com/`).
186
186
- Connectez-vous à Graylog en utilisant votre nom d'utilisateur et votre mot de passe Logs Data Platform.
187
187
- Parcourez vos logs dans le flux de données de votre compte Logs Data Platform. Vous pouvez consulter la documentation [Graylog writing search queries](https://go2docs.graylog.org/4-x/making_sense_of_your_log_data/writing_search_queries.html){.external} pour plus de détails sur la syntaxe de recherche.
0 commit comments