mirror of https://github.com/status-im/consul.git
k8s: Update audit-logging docs to include K8s examples (#18721)
Update audit-logging.mdx
This commit is contained in:
parent
3e78b4cf34
commit
24d031d1ed
|
@ -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