From 97456da824d1e75ce55c79e1e64b346213726bfd Mon Sep 17 00:00:00 2001 From: Kseniia Antonova Date: Fri, 2 Feb 2024 12:43:57 +0300 Subject: [PATCH] audit log: minor improvements --- doc/enterprise/audit_log.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/enterprise/audit_log.rst b/doc/enterprise/audit_log.rst index 931d7f012f..fe09c7d9be 100644 --- a/doc/enterprise/audit_log.rst +++ b/doc/enterprise/audit_log.rst @@ -149,9 +149,15 @@ forces the audit subsystem to log the primary key instead of a full tuple in DML Examples of audit log entries ----------------------------- -In the example, the logs are written to the ``audit_tarantool.log`` file. +In this example, the following audit log configuration is used: -First, create a space ``bands`` and check the logs in the file after the creation: +.. literalinclude:: /code_snippets/snippets/config/instances.enabled/audit_log/config.yaml + :language: yaml + :start-at: audit_log + :end-at: extract_key: true + :dedent: + +Create a space ``bands`` and check the logs in the file after the creation: .. literalinclude:: /code_snippets/snippets/config/instances.enabled/audit_log/myapp.lua :language: lua