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
Copy file name to clipboardExpand all lines: pages/network/ovhcloud_connect/occ-logs-2-customers/guide.en-gb.md
+38-17Lines changed: 38 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,32 +20,31 @@ If you would like to find out more about Logs Data Platform before reading this
20
20
21
21
- A Logs Data Platform (LDP) account with at least one active *Stream* configured. This guide will walk you through all the necessary steps: [Quick start for Logs Data Platform](/pages/manage_and_operate/observability/logs_data_platform/getting_started_quick_start).
22
22
- If you are not familiar with all the LDP *Stream* configuration possibilities, simply create a new one with the default options (indexing & websocket enabled, long-term storage disabled) for the purpose of this guide.
23
-
- An up-and-running [OVHcloud Connect] service(/pages/network/ovhcloud_connect/occ-concepts-overview).
23
+
- An up-and-running [OVHcloud Connect service](/pages/network/ovhcloud_connect/occ-concepts-overview).
24
24
- Both the LDP account and the OVHcloud Connect account must belong to the same OVHcloud account.
25
25
26
-
### Concepts & limits
27
-
26
+
## Concepts & limits
28
27
29
28
**What are the logs of an OVHcloud Connect?**
30
29
31
-
### Log kinds :
30
+
### Log kinds
32
31
33
32
There are four different kinds of logs which can be forwarded:
34
-
-**service** : Events related to the service's life cycle (suspended, delivered, etc).
33
+
34
+
-**service** : Events related to the service's lifecycle (suspended, delivered, etc).
35
35
-**service_configuration** : Events related to the service configuration, including adding or deleting DC/POP configurations.
36
36
-**bgp** : Status of the BGP session.
37
-
-**interface** : Events related to the fiber optic interface, including incoming and outgoing light.
37
+
-**interface** : Events related to the optic fiber interface, including incoming and outgoing light.
38
38
39
-
### Log contents :
39
+
### Log contents
40
40
41
41
| Field name | Description | Type |
42
-
|------------|-------------|---------|
42
+
|------------|-------------|---------|
43
43
| kind | The kind of log forwarded | String |
44
44
| message | An explicit description of the logged event | String |
45
45
| neighbor | The remote address in the subnet established between the OVHcloud Connect service and the PoP | IP |
46
46
| service_uuid | The UUID of the OVHcloud Connect service concerned by the event | String |
47
47
| timestamp | The timestamp at which the event was logged | datetime (with millisecond resolution) e.g. 25/Mar/2024:14:07:19.536 |
48
-
49
48
50
49
## Instructions
51
50
@@ -55,7 +54,12 @@ Note that the forwarding activation is free of charge, but you will be charged f
55
54
56
55
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.
57
56
58
-
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).
57
+
You can retrieve the API specifications in the [OVHcloud API Portal](/links/api):
58
+
59
+
> [!api]
60
+
>
61
+
> @api {v1} /dbaas/logs POST /dbaas/logs/{serviceName}/output/graylog/stream
62
+
>
59
63
60
64
#### Step 1 - Retrieve your target Stream (and ID)
61
65
@@ -82,14 +86,31 @@ Use the following API call to create a subscription:
82
86
> @api {v1} /ovhCloudConnect POST /ovhCloudConnect/{serviceName}/log/subscription
83
87
>
84
88
85
-
You will need to replace:
86
-
87
-
-**serviceName**: this is the internal name of your OVHcloud Connect service, you can find it in the OVHcloud Connect management page in the OVHcloud Control Panel or using the [dedicated API](https://eu.api.ovh.com/console/?section=%2FovhCloudConnect&branch=v1#get-/ovhCloudConnect) call.
89
+
> [!primary]
90
+
> You will need to replace:
91
+
>
92
+
> -**serviceName**: this is the internal name of your OVHcloud Connect service, you can find it in the OVHcloud Connect management page in the OVHcloud Control Panel or using the following API call:
93
+
>
94
+
> > [!api]
95
+
> >
96
+
> > @api {v1} /ovhCloudConnect GET /ovhCloudConnect
97
+
> >
98
+
>
88
99
89
100
The POST request has a payload that requires:
90
101
91
-
-`kind`: the kind of log you want to forward, among "service", "service_configuration", "bgp" and "interface". You can find available kinds using the [dedicated API](https://eu.api.ovh.com/console/?section=%2FovhCloudConnect&branch=v1#get-/ovhCloudConnect/-serviceName-/log/kind) call.
92
-
-`streamId`: the target data stream of your LDP account where you want your OVHcloud Connect logs to be forwarded to.
102
+
-`kind`: the kind of log you want to forward, among "service", "service_configuration", "bgp" and "interface".
103
+
-`streamId`: the target data stream of your LDP account where you want your OVHcloud Connect logs to be forwarded to.
104
+
105
+
> [!primary]
106
+
> You can find the available kinds using the following API call:
107
+
>
108
+
> > [!api]
109
+
> >
110
+
> > @api {v1} /ovhCloudConnect GET /ovhCloudConnect/{serviceName}/log/kind
111
+
> >
112
+
>
113
+
93
114
94
115
```shell
95
116
POST /ovhCloudConnect/{serviceName}/log/subscription
@@ -108,7 +129,7 @@ You will get in response an `operationId`:
108
129
}
109
130
```
110
131
111
-
You can use the `operationId` to retrieve the `subscriptionId` for further management purposes using the following api call:
132
+
You can use the `operationId` to retrieve the `subscriptionId` for further management purposes using the following API call:
112
133
113
134
> [!api]
114
135
>
@@ -153,7 +174,7 @@ Now that your logs are ingested and stored in your Logs Data Platform data strea
153
174
- In the OVHcloud Control Panel, retrieve the LDP username (ex: logs-xxxx) and its password in your Logs Data Platform account home page. You can refer to the [Quick start guide for Logs Data Platform](/pages/manage_and_operate/observability/logs_data_platform/getting_started_quick_start).
154
175
- Open the Graylog web-ui. You can retrieve the link in your account home page or using your Access point depending on your account region (for example: Gravelines region is https://gra1.logs.ovh.com/).
155
176
- Log into Graylog using your Logs Data Platform Username and Password.
156
-
- Search through your logs across the data stream of your Logs Data Platform account. You can refer to [Graylog writing search queries](https://go2docs.graylog.org/current/making_sense_of_your_log_data/writing_search_queries.html){.external} documentation for details on search syntax.
177
+
- Search through your logs across the data stream of your Logs Data Platform account. You can refer to [Graylog writing search queries](https://go2docs.graylog.org/current/making_sense_of_your_log_data/writing_search_queries.html)documentation for details on search syntax.
157
178
158
179
Refer to the following documentation: [Logs Data Platform - Visualizing, querying and exploiting your logs](/products/observability-logs-data-platform-visualizing-querying-exploiting) for more details about how to use your logs with Logs Data Platform, including how to:
Copy file name to clipboardExpand all lines: pages/network/ovhcloud_connect/occ-logs-2-customers/guide.fr-fr.md
+39-19Lines changed: 39 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,20 @@ updated: 2025-08-28
6
6
7
7
## Objectif
8
8
9
-
L'objectif de ce guide est de vous montrer comment activer la redirection de logs de votre OVHcloud Connect vers Logs Data Platform (LDP), une plateforme qui vous aide à stocker, archiver, interroger et visualiser vos logs.
10
-
Si vous souhaitez en savoir plus sur Logs Data Platform avant de lire ce guide, reportez-vous au [Guide d'introduction de Logs Data Platform](/pages/manage_and_operate/observability/logs_data_platform/getting_started_introduction_to_LDP).
9
+
L'objectif de ce guide est de vous montrer comment activer la redirection de logs de votre service OVHcloud Connect vers Logs Data Platform (LDP), une plateforme qui vous aide à stocker, archiver, interroger et visualiser vos logs.
10
+
Pour en savoir plus sur Logs Data Platform avant de lire ce guide, reportez-vous au [Guide d'introduction de Logs Data Platform](/pages/manage_and_operate/observability/logs_data_platform/getting_started_introduction_to_LDP).
11
11
12
12
## Glossaire
13
13
14
14
-**Logs Data Platform :** une plateforme de gestion de logs entièrement gérée et sécurisée par OVHcloud. Pour plus d'informations, consultez la page de présentation de la solution [Logs Data Platform](/links/manage-operate/ldp).
15
15
-**Data Stream:** une partition logique de logs que vous créez dans un compte LDP et que vous utiliserez lors de l'ingestion, de la visualisation ou de l'interrogation de vos logs. Plusieurs sources peuvent être stockées dans le même flux de données, et c'est l'unité qui peut être utilisée pour définir un pipeline de logs (politique de rétention, archivage, streaming live, etc.), des droits d'accès et des politiques d'alertes.
16
16
-**Transfert de logs :** fonctionnalité intégrée à un produit OVHcloud pour ingérer les logs de ses services dans un *Data Stream* d’un compte LDP dans le même compte OVHcloud. Cette fonctionnalité doit être activée par le client et par service.
17
-
-**Abonnement à la redirection de logs :**Lors de l'activation de la redirection de logs pour un service OVHcloud donné vers un LDP *Data Stream* donné, un *Abonnement* est créé et attaché au *Data Stream* pour une gestion ultérieure par le client.
17
+
-**Abonnement à la redirection de logs :**lors de l'activation de la redirection de logs pour un service OVHcloud donné vers un LDP *Data Stream* donné, un *Abonnement* est créé et attaché au *Data Stream* pour une gestion ultérieure par le client.
18
18
19
19
## Prérequis
20
20
21
-
- Un compte Logs Data Platform (LDP) avec au moins un *Stream* actif configuré. Ce guide vous guidera dans toutes les étapes nécessaires : [Quick start for Logs Data Platform (EN)](/pages/manage_and_operate/observability/logs_data_platform/getting_started_quick_start).
22
-
- Si vous ne connaissez pas toutes les possibilités de configuration d'un *Stream* LDP, il vous suffit d'en créer un nouveau avec les options par défaut (indexation & websocket activés, stockage longue durée désactivé) pour suivre ce guide.
21
+
- Un compte Logs Data Platform (LDP) avec au moins un *Stream* actif configuré. Ce guide vous accompagnera dans toutes les étapes nécessaires : [Quick start for Logs Data Platform (EN)](/pages/manage_and_operate/observability/logs_data_platform/getting_started_quick_start).
22
+
- Si vous ne connaissez pas toutes les possibilités de configuration d'un *Stream* LDP, il vous suffit d'en créer un nouveau avec les options par défaut (indexation & websocket activés, stockage longue durée désactivé) pour suivre ce guide.
23
23
- Un service [OVHcloud Connect](/pages/network/ovhcloud_connect/occ-concepts-overview) opérationnel.
24
24
- Le compte LDP et le compte OVHcloud Connect doivent appartenir au même compte OVHcloud.
25
25
@@ -30,43 +30,47 @@ Si vous souhaitez en savoir plus sur Logs Data Platform avant de lire ce guide,
30
30
### Types de logs:
31
31
32
32
Il existe quatre types de logs qui peuvent être transférés :
33
+
33
34
-**service** : Événements liés au cycle de vie du service (suspendu, livré, etc).
34
35
-**service_configuration** : Événements liés à la configuration du service, y compris l'ajout ou la suppression de configurations DC/POP.
35
36
-**bgp** : Statut de la session BGP.
36
37
-**interface** : Événements liés à l'interface de fibre optique, y compris les signaux entrant et sortant.
37
38
38
-
39
39
### Contenu des logs :
40
40
41
-
|Field name| Description | Type |
41
+
|Nom du champ| Description | Type |
42
42
|------------|-------------|---------|
43
43
| kind | Le type de log transféré | String |
44
44
| message | Une description explicite de l'événement enregistré | String |
45
45
| neighbor | L'adresse distante dans le sous-réseau établi entre le service OVHcloud Connect et le PoP | IP |
46
46
| service_uuid | L'UUID du service OVHcloud Connect concerné par l'événement | String |
47
47
| timestamp | L'horodatage auquel l'événement a été enregistré | datetime (with millisecond resolution) e.g. 08/Sep/2025:11:35:19.854 |
48
48
49
-
50
-
## Instructions
49
+
## En pratique
51
50
52
51
Prenez en compte que l'activation du *forwarding* est gratuite, mais vous serez facturé pour l'utilisation du service Logs Data Platform selon le tarif standard. Pour la tarification du LDP, consultez cette [page](/links/manage-operate/ldp).
53
52
54
53
### Activation du Log Forwarding d'OVHcloud Connect via API
55
54
56
55
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.
57
56
58
-
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).
57
+
Vous pouvez récupérer les spécifications de l'API dans le portail [OVH API](/links/api) :
58
+
59
+
> [!api]
60
+
>
61
+
> @api {v1} /dbaas/logs POST /dbaas/logs/{serviceName}/output/graylog/stream
62
+
>
59
63
60
64
#### Étape 1 - Récupérer le Stream (et l'ID) cible
61
65
62
-
Lister les flux de données de votre compte Logs Data Platform (renseignez votre identifiant LDP sous la forme ldp-xx-xxxx dans le champ « serviceName ») :
66
+
Listez les flux de données de votre compte Logs Data Platform (renseignez votre identifiant LDP sous la forme ldp-xx-xxxx dans le champ « serviceName ») :
63
67
64
68
> [!api]
65
69
>
66
70
> @api {v1} /dbaas/logs GET /dbaas/logs/{serviceName}/output/graylog/stream
67
71
>
68
72
69
-
Obtenir les détails d'un flux de données :
73
+
Obtenez les détails d'un flux de données :
70
74
71
75
> [!api]
72
76
>
@@ -82,15 +86,31 @@ Utilisez l'appel API suivant pour créer un abonnement :
82
86
> @api {v1} /ovhCloudConnect POST /ovhCloudConnect/{serviceName}/log/subscription
83
87
>
84
88
85
-
Vous devrez remplacer :
86
-
87
-
-**serviceName** : il s'agit du nom interne de votre service OVHcloud Connect, que vous pouvez retrouver sur la page de gestion du OVHcloud Connect de votre espace client OVHcloud ou en utilisant [l'appel API dédié](https://eu.api.ovh.com/console/?section=%2FovhCloudConnect&branch=v1#get-/ovhCloudConnect).
89
+
> [!primary]
90
+
> Vous devrez remplacer :
91
+
>
92
+
> -**serviceName** : il s'agit du nom interne de votre service OVHcloud Connect, que vous pouvez retrouver sur la page de gestion du OVHcloud Connect de votre espace client OVHcloud ou en utilisant l'appel API suivant :
93
+
>
94
+
> > [!api]
95
+
> >
96
+
> > @api {v1} /ovhCloudConnect GET /ovhCloudConnect
97
+
> >
98
+
>
88
99
89
100
La requête POST a une charge utile qui nécessite :
90
101
91
-
-`kind` : le type de journal que vous voulez transférer, parmi "service", "service_configuration", "bgp" et "interface". Vous pouvez trouver les types disponibles en utilisant [l'appel API dédié](https://eu.api.ovh.com/console/?section=%2FovhCloudConnect&branch=v1#get-/ovhCloudConnect/-serviceName-/log/kind).
102
+
-`kind` : le type de journal que vous voulez transférer, parmi "service", "service_configuration", "bgp" et "interface".
92
103
-`streamId` : flux de données cible de votre compte LDP vers lequel vous souhaitez que vos logs du service OVHcloud Connect soient transférés.
93
104
105
+
> [!primary]
106
+
> Vous pouvez trouver les types (`kind`) disponibles en utilisant l'appel API suivant :
107
+
>
108
+
> > [!api]
109
+
> >
110
+
> > @api {v1} /ovhCloudConnect GET /ovhCloudConnect/{serviceName}/log/kind
111
+
> >
112
+
>
113
+
94
114
```shell
95
115
POST /ovhCloudConnect/{serviceName}/log/subscription
96
116
{
@@ -108,7 +128,7 @@ Vous obtiendrez en réponse un `operationId` :
108
128
}
109
129
```
110
130
111
-
Vous pouvez utiliser le `operationId` pour récupérer le `subscriptionId` à des fins de gestion ultérieure à l'aide de l'appel d'api suivant :
131
+
Vous pouvez utiliser le `operationId` pour récupérer le `subscriptionId` à des fins de gestion ultérieure à l'aide de l'appel API suivant :
112
132
113
133
> [!api]
114
134
>
@@ -151,9 +171,9 @@ GET /ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId}
151
171
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.
152
172
153
173
- 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_operate/observability/logs_data_platform/getting_started_quick_start).
154
-
-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/`).
174
+
-Ouvrez 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/`).
155
175
- Connectez-vous à Graylog en utilisant votre nom d'utilisateur et votre mot de passe Logs Data Platform.
156
-
- Parcourez vos logs dans le flux de données de votre compte Logs Data Platform. Vous pouvez consulter la documentation [Graylog writing search queries (EN)](https://go2docs.graylog.org/current/making_sense_of_your_log_data/writing_search_queries.html){.external} pour plus de détails sur la syntaxe de recherche.
176
+
- Parcourez vos logs dans le flux de données de votre compte Logs Data Platform. Vous pouvez consulter la documentation [Graylog writing search queries (EN)](https://go2docs.graylog.org/current/making_sense_of_your_log_data/writing_search_queries.html) pour plus de détails sur la syntaxe de recherche.
157
177
158
178
Reportez-vous à la documentation suivante : [Logs Data Platform - Visualizing, querying and exploiting your logs (EN)](/products/observability-logs-data-platform-visualizing-querying-exploiting) pour plus de détails sur l'utilisation de vos logs avec Logs Data Platform, y compris sur la façon de :
0 commit comments