mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 03:45:41 +03:00
Adds documentation for file mode to sink docs (#10972)
This commit is contained in:
@@ -78,6 +78,7 @@ audit {
|
||||
rotate_bytes = 100
|
||||
rotate_duration = "24h"
|
||||
rotate_max_files = 10
|
||||
mode = "0600"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -97,6 +98,9 @@ audit {
|
||||
- `format` `(string: "json", required)` - Specifies the output format to be
|
||||
sent to a sink. Currently only `"json"` format is supported.
|
||||
|
||||
- `mode` `(string: "0600")` - Specifies the permissions mode for the audit log
|
||||
files using octal notation.
|
||||
|
||||
- `path` `(string: "[data_dir]/audit/audit.log")` - Specifies the path and file
|
||||
name to use for the audit log. By default Nomad will use its configured
|
||||
[`data_dir`](/docs/configuration#data_dir) for a combined path of
|
||||
|
||||
Reference in New Issue
Block a user