Skip to content

Commit

Permalink
Backport of k8s: Update audit-logging docs to include K8s examples in…
Browse files Browse the repository at this point in the history
…to release/1.15.x (#18732)

backport of commit 1c262f0

Co-authored-by: David Yu <dyu@hashicorp.com>
  • Loading branch information
hc-github-team-consul-core and David Yu authored Sep 10, 2023
1 parent 5680edd commit 87406b5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions website/content/docs/enterprise/audit-logging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 87406b5

Please sign in to comment.