mirror of https://github.com/hashicorp/consul
Backport of k8s: Update audit-logging docs to include K8s examples into release/1.15.x (#18732)
backport of commit 1c262f005b
Co-authored-by: David Yu <dyu@hashicorp.com>
pull/18746/head
parent
5680edde98
commit
87406b5371
|
@ -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…
Reference in New Issue