Skip to content

Commit

Permalink
ES-versions-support-audit-log-writing (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Dec 23, 2022
1 parent c8d0f83 commit 9533825
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Parameter descriptions are as follows:
|Parameter|Predefined value|Description|
|:--|:--|:--|
| `enable_audit` | `false` | Whether or not to enable audit logs. |
| `audit_log_handler` | `file` |Specifies the place where the audit logs will be written. Optional values are `file` (local file) and `es`(Elasticsearch). |
| `audit_log_handler` | `file` |Specifies the place where the audit logs will be written. Optional values are `file` (local file) and `es` (Elasticsearch). The supported Elasticsearch versions are 7.x and 8.x. |
| `audit_log_file` | `./logs/audit/audit.log` | Takes effect only when `audit_log_handler=file`. The path for storing audit logs. The value can be absolute or relative. |
| `audit_log_strategy` | `synchronous` | Sets the method to synchronize audit logs. Takes effect only when `audit_log_handler=file`. Optional values are `asynchronous` and `synchronous`. When `asynchronous`, log events are cached in memory and do not block the main thread, but may result in missing logs due to insufficient cache. When `synchronous`, log events are refreshed and synchronized to the file each time. |
| `audit_log_max_buffer_size` | `1048576` |Take effect only when `audit_log_handler=file` and `audit_log_strategy=asynchronous`. The size of the memory buffer used for logging. Unit: bytes. |
Expand Down

0 comments on commit 9533825

Please sign in to comment.