@@ -80,9 +80,17 @@ The ``audit_log`` section defines configuration parameters related to :ref:`audi
8080 * Event names (for example, ``password_change ``). For details, see :ref: `Audit log events <audit-log-events >`.
8181 * Event groups (for example, ``audit ``). For details, see :ref: `Event groups <audit-log-event-groups >`.
8282
83- The option contains either one value from above or a combination of them.
83+ The option contains either one value from `` Possible values `` section (see below) or a combination of them.
8484
85- To enable :ref: `user-defined audit log events <audit-log-custom >`, specify the ``custom `` value in this option.
85+ To enable :ref: `custom audit log events <audit-log-custom >`, specify the ``custom `` value in this option.
86+
87+ **Example **
88+
89+ .. literalinclude :: /code_snippets/snippets/config/instances.enabled/audit_log/myapp.lua
90+ :language: lua
91+ :start-at: filter:
92+ :end-at: custom ]
93+ :dedent:
8694
8795 |
8896 | Type: array
@@ -218,7 +226,7 @@ The ``audit_log`` section defines configuration parameters related to :ref:`audi
218226
219227.. confval :: audit_log.syslog_identity
220228
221- Specify an arbitrary string that will be placed at the beginning of all messages .
229+ Specify an application name to show in logs .
222230 You can enable logging to a system logger using the :ref: `audit_log.to <configuration_reference_audit_to >` option.
223231
224232 See also: :ref: `syslog configuration example <configuration_reference_audit_syslog-example >`.
@@ -314,7 +322,7 @@ The ``audit_log`` section defines configuration parameters related to :ref:`audi
314322
315323 - ``devnull ``: disable audit logging.
316324 - ``file ``: write audit logs to a file (see :ref: `audit_log.file <configuration_reference_audit_file >`).
317- - ``pipe ``: write audit logs to a pipe (see :ref: `audit_log.pipe <configuration_reference_audit_pipe >`).
325+ - ``pipe ``: start a program and write audit logs to it (see :ref: `audit_log.pipe <configuration_reference_audit_pipe >`).
318326 - ``syslog ``: write audit logs to a system logger (see :ref: `audit_log.syslog <configuration_reference_audit_pipe >`).
319327
320328 By default, audit logging is disabled.
0 commit comments