Skip to content
Open
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f420147
Instruct user with remote db to skip step 3 in el to el migration (#4…
emgcentreon Nov 20, 2025
b2e91fc
Fix repo typo in upgrade from 24.10 procedure (#4861)
emgcentreon Nov 21, 2025
457600f
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 1, 2025
c653148
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 3, 2025
47400dc
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 4, 2025
fb621fc
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 11, 2025
3cd8134
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 11, 2025
7ef9bb3
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 16, 2025
da0ecbc
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Dec 19, 2025
8b3b83d
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Jan 5, 2026
ea79035
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Jan 7, 2026
da40dc7
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Jan 12, 2026
1460fd5
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Jan 13, 2026
772dddb
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Jan 26, 2026
823fa4b
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Feb 2, 2026
f93cba7
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Feb 9, 2026
6bb4733
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Feb 12, 2026
d2ae546
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Feb 20, 2026
a8826d0
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Feb 26, 2026
736b355
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Mar 2, 2026
6fd3d4e
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Mar 6, 2026
38c6af8
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Mar 11, 2026
32162c0
Merge branch 'staging' of github.com:centreon/centreon-documentation …
cg-tw Mar 12, 2026
0f03698
Improvements to CLM doc
cg-tw Mar 13, 2026
cd21e4f
FR
cg-tw Mar 13, 2026
b3fd9c3
Merge branch 'staging' into LOG-630-improvements
cg-tw Mar 13, 2026
7dfb9c1
Changes following review
cg-tw Mar 18, 2026
0612e73
Merge branch 'LOG-630-improvements' of github.com:centreon/centreon-d…
cg-tw Mar 18, 2026
6ca4b11
Changes following review
cg-tw Mar 18, 2026
26fa25b
Update
cg-tw Mar 19, 2026
76f57ed
Update schema
cg-tw Mar 23, 2026
bb58fd1
Merge branch 'staging' into LOG-630-improvements
cg-tw Mar 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"message": "Gérer les utilisateurs",
"description": "The label for category Managing users in sidebar logmanagement"
},
"sidebar.logmanagement.category.Sending logs to CLM": {
"message": "Envoyer des logs à CLM",
"description": "The label for category Sending logs to CLM in sidebar logmanagement"
"sidebar.logmanagement.category.Sending logs to Centreon Log Management": {
"message": "Envoyer des logs à Centreon Log Management",
"description": "The label for category Sending logs to Centreon Log Management in sidebar logmanagement"
},
"sidebar.logmanagement.category.Exploring and analyzing logs": {
"message": "Explorer et analyser les logs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ id: storage-usage
title: Surveiller l’utilisation du stockage
---

Vous pouvez utiliser la page **Administration > Storage Usage** pour surveiller l'espace de stockage utilisé par votre instance Centreon Log Management.
Vous pouvez utiliser la page **Administration > Storage Usage** pour surveiller l'espace de stockage utilisé par votre plateforme Centreon Log Management.

* Sélectionnez la période souhaitée dans le coin supérieur droit.
* Passez la souris sur le graphique pour afficher la valeur des points de données.

Dans Centreon Log Management, l'utilisation du stockage est exprimée en mébioctets. 1 Mioctet = 1,048576 Mo.

Pour le programme bêta, l'utilisation totale du stockage est limitée à 150 Go. Au-delà, les logs ne sont plus acceptés par CLM.
Pour le programme bêta, l'utilisation totale du stockage est limitée à 150 Go. Au-delà, les logs ne sont plus acceptés par Centreon Log Management.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ title: Gérer les jetons d'authentification
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Chaque hôte a besoin d'un jeton pour s'authentifier auprès de CLM. Ce jeton permet à l'hôte de s'identifier de manière sécurisée lors de l'envoi de données, garantissant ainsi que seuls les hôtes autorisés peuvent se connecter à votre instance CLM et l'utiliser.
Chaque hôte a besoin d'un jeton pour s'authentifier auprès de Centreon Log Management (CLM). Ce jeton permet à l'hôte de s'identifier de manière sécurisée lors de l'envoi de données, garantissant ainsi que seuls les hôtes autorisés peuvent se connecter à votre plateforme CLM et l'utiliser.

## Créer un jeton

1. À la page **Administration > Token management**, cliquez sur **Add**.
2. Dans la fenêtre qui s'ouvre, entrez un nom (obligatoire) et une description (facultative) pour votre jeton.
3. Cliquez sur **Generate token**. La fenêtre affiche votre jeton. Elle ne l'affiche qu'une seule fois : stockez-le de manière sécurisée. Si vous fermez la fenêtre, vous ne pourrez plus afficher le jeton.

Vous pouvez supprimer un jeton à l'aide de l'icône **Delete** sur la page **Administration > Token management**. Si vous supprimez un jeton, tous les hôtes qui l'utilisent ne pourront plus s'authentifier auprès de CLM. Par conséquent, les logs envoyés par ces hôtes ne parviendront plus à votre instance CLM jusqu'à ce qu'un nouveau jeton valide soit configuré. La suppression d'un jeton est irréversible.
Vous pouvez supprimer un jeton à l'aide de l'icône **Delete** sur la page **Administration > Token management**. Si vous supprimez un jeton, tous les hôtes qui l'utilisent ne pourront plus s'authentifier auprès de CLM. Par conséquent, les logs envoyés par ces hôtes ne parviendront plus à votre plateforme CLM jusqu'à ce qu'un nouveau jeton valide soit configuré. La suppression d'un jeton est irréversible.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tous les hôtes ( pas certain pour le mot hôte ici)
Ca peut être un collecteur opentelementry , des outils d'automatisation utilisant les APs .....


## Utiliser des jetons dans la configuration de votre collecteur Open Telemetry

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Votre administrateur vous a invité dans Centreon CIAM : vous avez reçu un emai
2. Entrez votre mot de passe, puis cliquez sur **Continue**. Le site Centreon CIAM s'ouvre.
3. Dans le coin supérieur droit de l'écran, cliquez sur l'icône de profil, puis cliquez sur **Edit profile**. Vous pouvez maintenant renseigner vos informations personnelles.

## Accéder à CLM
## Accéder à Centreon Log Management

Pour lancer CLM, connectez-vous au CIAM. À la page **Applications**, cliquez sur la vignette souhaitée :
Pour lancer Centreon Log Management, connectez-vous au CIAM. À la page **Applications**, cliquez sur la vignette souhaitée :

![image](./assets/ciam.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
---
id: collector-simple
title: Configurations simples de collecteur
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Voici deux exemples de configurations simples. Si vous souhaitez collecter plusieurs types de logs à partir d'un même hôte, utilisez la page [Configuration complète de collecteur (sources de logs multiples)](collector.md).

## Exemple 1 : Configuration rapide pour commencer à collecter les logs de l'Observateur d'événements Windows

1. Sur une machine Windows, [installez l'OpenTelemetry Collector](https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.147.0/otelcol-contrib_0.147.0_windows_x64.msi).

2. Dans Centreon Log Management (CLM), [générez un jeton pour authentifier l'hôte auprès de votre plateforme CLM](../administration/tokens.md).

3. Sur votre machine Windows, modifiez le fichier **config.yaml** qui a été créé dans le répertoire où vous avez installé OpenTelemetry Collector. Par défaut, il se trouve ici :

```shell
C:\Program Files\OpenTelemetry Collector\config.yaml
```

4. Remplacez le contenu du fichier par l'extrait ci-dessous (remplacez **mytoken** par votre jeton). Veillez à enregistrer le fichier en tant qu'administrateur.

```yaml
# Copyright 2025 Centreon.
# SPDX-License-Identifier: Apache-2.0

exporters:
otlphttp/centreon: # The exporter that will send logs to CLM
endpoint: "https://api.euwest1.obs.mycentreon.com/v1/ingress/otlp"
headers:
"X-Api-Key": "mytoken" ## Replace mytoken by your actual token
debug: # The exporter that will write debug info to log files
verbosity: detailed

processors:
batch: # This processor optimizes performance.
resourcedetection: # This processor enriches ALL logs with the information defined below.
detectors: ["system"]
system:
resource_attributes: # Each log entry will include the 4 attributes listed below.
host.name:
enabled: true
os.name:
enabled: true
os.type:
enabled: true
os.version:
enabled: true

receivers:
windowseventlog/application:
channel: application
operators:
- type: severity_parser
parse_from: body.level
overwrite_text: true
mapping:
fatal:
- Critical
- Critique
error:
- Error
- Erreur
warn:
- Warning
- Avertissement
info:
- Informational
- Information
- type: copy
from: body.execution.process_id
to: attributes["process.pid"]
- type: copy
from: body.provider.name
to: resource["event.provider.name"]
- type: copy
from: body.provider.guid
to: resource["event.provider.guid"]
if: "body.provider.guid != ''"
- type: copy
from: body.event_id.id
to: attributes["event.id"]
- type: copy
from: body.record_id
to: attributes["event.record.id"]
- type: copy
from: body.task
to: attributes["event.task"]
- type: move
from: body.message
to: body
- type: add
field: resource["service.version"]
value: "1.0.0"
- type: add
field: resource["service.name"]
value: "windows-event-log"
- type: add
field: resource["service.namespace"]
value: "application"

service:
pipelines: # This defines the order in which the collector runs its components.
logs:
receivers: [windowseventlog/application]
processors: [batch, resourcedetection]
exporters: [otlphttp/centreon]
```

5. redémarrez le service OpenTelemetry Collector.

```shell
net stop otelcol-contrib
net start otelcol-contrib
```

Vous devriez commencer à recevoir des logs dans Centreon Log Management.

## Exemple 2 : Un fichier de configuration avec 3 sources de logs

Dans l'exemple suivant, nous recevons des données provenant de trois sources différentes sur le même serveur Windows. Les logs transitent par un seul pipeline. Toute la configuration est regroupée dans le fichier **config.yaml** du collecteur. (Suivez la même procédure que pour l'exemple 1 et adaptez le fichier de configuration ci-dessous.)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je ne suis pas certain de comprendre pourquoi avoir tout mis dans config.yaml ici


![image](../assets/receivers-processors-exporters.png)

```yaml
# Copyright 2025 Centreon
# SPDX-License-Identifier: Apache-2.0

exporters:
otlphttp/centreon: # The exporter that will send logs to CLM
endpoint: "https://api.euwest1.obs.mycentreon.com/v1/ingress/otlp"
headers:
"X-Api-Key": "mytoken" ## Replace mytoken by your actual token
debug: # The exporter that will write debug info to log files
verbosity: detailed

processors:
batch: # This processor optimizes performance.
resourcedetection: # This processor enriches ALL logs with the information defined below.
detectors: ["system"]
system:
resource_attributes: # Each log entry will include the 4 attributes listed below.
host.name:
enabled: true
os.name:
enabled: true
os.type:
enabled: true
os.version:
enabled: true

receivers:

windowseventlog/application: # You will receive logs from the Windows Application Event Log.
channel: application
operators:
- type: severity_parser
parse_from: body.level
overwrite_text: true
mapping:
fatal: [Critical, Critique]
error: [Error, Erreur]
warn: [Warning, Avertissement]
info: [Informational, Information]
- type: move
from: body.message
to: body
- type: add
field: resource["service.namespace"]
value: "application"
- type: add
field: resource["service.name"]
value: "windows-event-logs"

filelog/mssql: # You will receive logs from Microsoft SQL Server log files.

include:
- 'C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\Log\ERRORLOG'
encoding: utf-16le
start_at: end
multiline:
line_start_pattern: '^\d{4}-\d{2}-\d{2}'
operators:
- type: regex_parser
regex: '^(?P<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+)\s+(?P<source>[^\s]+)\s+(?P<msg>(?s).*)'
timestamp:
parse_from: attributes.time
layout: '%Y-%m-%d %H:%M:%S.%f'
- type: add
field: resource["service.name"]
value: "mssql-server"

filelog/messages: # You will receive logs from the system log files specified in the "include" attribute.
include:
- /var/log/messages
include_file_path: true
operators:
- type: regex_parser
regex: '^(?P<ts>\w{3}\s\d{2}\s\d{2}:\d{2}:\d{2})\s(?P<hostname>[\w_-]+)\s(?P<process>[\w_-]+)(\[(?<pid>\d+)\])?:\s(?<body>.*)$'
timestamp:
parse_from: attributes["ts"]
layout: '%b %d %H:%M:%S'
- type: move
from: attributes["pid"]
to: attributes["process.pid"]
- type: move
from: attributes["process"]
to: resource["service.name"]
- type: remove
field: attributes["ts"]
- type: move
from: attributes["body"]
to: body
# Add a service version, the template version
- type: add
field: resource["service.version"]
value: '1.0.0'
# Remove the hostname, use the resource detectors
- type: remove
field: attributes["hostname"]

service:
pipelines: # This defines the order in which the collector runs its components.
logs:
receivers: [windowseventlog/application, filelog/mssql, filelog/messages]
processors: [batch, resourcedetection]
exporters: [otlphttp/centreon, debug]

```
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
id: collector-troubleshooting
title: Dépanner votre installation
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Vérifiez l'état de votre collecteur sur l'hôte dont vous souhaitez recevoir les logs :

```shell
journalctl -u otelcol-contrib.service
```

Si vous ne recevez pas les journaux attendus dans CLM, vérifiez que l'utilisateur **otelcol-contrib** dispose des droits suffisants pour lire les fichiers requis, en fonction du type de receiver. Exemple :

```shell
ls -l /var/log/messages
id otelcol-contrib
usermod -aG root otelcol-contrib
```
Loading
Loading