diff options
author | bazeltsev <bazeltsev@ydb.tech> | 2023-05-17 17:40:59 +0300 |
---|---|---|
committer | bazeltsev <bazeltsev@ydb.tech> | 2023-05-17 17:40:59 +0300 |
commit | 29f476139085a7f7550ab0a6939559a5751b8410 (patch) | |
tree | 3965c2150b9c7b93bf992a81c7552a34b38e282a | |
parent | e4b06e55ab6521fc321812332a764a5ef2a276b1 (diff) | |
download | ydb-29f476139085a7f7550ab0a6939559a5751b8410.tar.gz |
Fixed audit log sections name
updated
-rw-r--r-- | ydb/docs/en/core/cluster/audit-log.md | 8 | ||||
-rw-r--r-- | ydb/docs/ru/core/cluster/audit-log.md | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ydb/docs/en/core/cluster/audit-log.md b/ydb/docs/en/core/cluster/audit-log.md index c266d241299..24483336ab8 100644 --- a/ydb/docs/en/core/cluster/audit-log.md +++ b/ydb/docs/en/core/cluster/audit-log.md @@ -49,10 +49,10 @@ The information about each operation is saved to the audit log as a separate eve ## Enabling audit log {#enabling-audit-log} -Delivering events to the audit log stream is enabled for the entire {{ ydb-short-name }} cluster. To enable it, add, to the [cluster configuration](../deploy/configuration/config.md), the `audit` section, and specify in it one of the stream destinations (`file_backend`, `unified_agent_backend`, `unified_agent_backend`) or their combination: +Delivering events to the audit log stream is enabled for the entire {{ ydb-short-name }} cluster. To enable it, add, to the [cluster configuration](../deploy/configuration/config.md), the `audit_config` section, and specify in it one of the stream destinations (`file_backend`, `unified_agent_backend`, `unified_agent_backend`) or their combination: ```yaml -audit: +audit_config: file_backend: format: audit_log_format file_path: "path_to_log_file" @@ -75,7 +75,7 @@ audit: Sample configuration that saves the audit log text to `/var/log/ydb-audit.log`: ```yaml -audit: +audit_config: file_backend: format: TXT file_path: "/var/log/ydb-audit.log" @@ -84,7 +84,7 @@ audit: Sample configuration that saves the audit log text to Yandex Unified Agent with the `audit` label and outputs it to `stderr` in JSON format: ```yaml -audit: +audit_config: unified_agent_backend: format: TXT log_name: audit diff --git a/ydb/docs/ru/core/cluster/audit-log.md b/ydb/docs/ru/core/cluster/audit-log.md index 02ee01ea4b7..d1f13f7b956 100644 --- a/ydb/docs/ru/core/cluster/audit-log.md +++ b/ydb/docs/ru/core/cluster/audit-log.md @@ -49,10 +49,10 @@ _Аудитный лог_ — это поток, который содержит ## Включение аудитного лога {#enabling-audit-log} -Отправка событий в поток аудитного лога включается целиком для кластера {{ ydb-short-name }}. Для включения необходимо в [конфигурацию кластера](../deploy/configuration/config.md) добавить секцию `audit`, указать в ней одно из назначений для потока (`file_backend`, `unified_agent_backend`, `unified_agent_backend`) или их комбинацию: +Отправка событий в поток аудитного лога включается целиком для кластера {{ ydb-short-name }}. Для включения необходимо в [конфигурацию кластера](../deploy/configuration/config.md) добавить секцию `audit_config`, указать в ней одно из назначений для потока (`file_backend`, `unified_agent_backend`, `unified_agent_backend`) или их комбинацию: ```yaml -audit: +audit_config: file_backend: format: audit_log_format file_path: "path_to_log_file" @@ -75,7 +75,7 @@ audit: Пример конфигурации для сохранения аудитного лога в текстовом формате в файл `/var/log/ydb-audit.log`: ```yaml -audit: +audit_config: file_backend: format: TXT file_path: "/var/log/ydb-audit.log" @@ -84,7 +84,7 @@ audit: Пример конфигурации для отправки аудитного лога в текстовом формате в Yandex Unified Agent с меткой `audit`, а также вывода его в `stderr` в формате JSON: ```yaml -audit: +audit_config: unified_agent_backend: format: TXT log_name: audit |