From 1c262f005b254ce565c827320b99f5b9d555d518 Mon Sep 17 00:00:00 2001 From: David Yu Date: Fri, 8 Sep 2023 09:58:54 -0700 Subject: [PATCH] Update audit-logging.mdx --- .../content/docs/enterprise/audit-logging.mdx | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/website/content/docs/enterprise/audit-logging.mdx b/website/content/docs/enterprise/audit-logging.mdx index 14d87265bffd0..75d3b33a41089 100644 --- a/website/content/docs/enterprise/audit-logging.mdx +++ b/website/content/docs/enterprise/audit-logging.mdx @@ -82,6 +82,21 @@ audit { } } ``` + +```yaml +server: + auditLogs: + enabled: true + sinks: + - name: My Sink + type: file + format: json + path: /tmp/audit.json + delivery_guarantee: best-effort + rotate_duration: 24h + rotate_max_files: 15 + rotate_bytes: 25165824 +``` @@ -122,6 +137,18 @@ audit { } ``` +```yaml +server: + auditLogs: + enabled: true + sinks: + - name: My Sink + type: file + format: json + path: /dev/stdout + delivery_guarantee: best-effort +``` +