Skip to content

Commit

Permalink
k8s: Update audit-logging docs to include K8s examples (#18721)
Browse files Browse the repository at this point in the history
Update audit-logging.mdx
  • Loading branch information
David Yu authored Sep 10, 2023
1 parent 3e78b4c commit 24d031d
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 24d031d

Please sign in to comment.