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