Browse Source

Backport of k8s: Update audit-logging docs to include K8s examples into release/1.14.x (#18731)

backport of commit 1c262f005b

Co-authored-by: David Yu <dyu@hashicorp.com>
pull/18787/head
hc-github-team-consul-core 1 year ago committed by GitHub
parent
commit
ad19aac2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      website/content/docs/enterprise/audit-logging.mdx

27
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
```
</CodeTabs>
</Tab>
@ -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
```
</CodeTabs>
</Tab>

Loading…
Cancel
Save