Skip to content

Commit

Permalink
Update audit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zparnold authored Sep 10, 2018
1 parent 6ce99ea commit 86e9900
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/en/docs/tasks/debug-application-cluster/audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ and in the logs to monitor the state of the auditing subsystem.
- `apiserver_audit_error_total` metric contains the total number of events dropped due to an error
during exporting.

### truncate
### Truncate

Both log and webhook backends support batching. As an example, the following is the list of flags
available for the log backend:
Expand All @@ -200,8 +200,7 @@ available for the log backend:
- `audit-log-truncate-max-batch-size` maximum size of the batch sent to the underlying backend.
- `audit-log-truncate-max-event-size` maximum size of the audit event sent to the underlying backend.

By default truncate is disabled in both `webhook` and `log`, set `audit-log-truncate-enabled` or
`audit-webhook-truncate-enabled` to enable the feature.
By default truncate is disabled in both `webhook` and `log`, a cluster administrator should set `audit-log-truncate-enabled` or `audit-webhook-truncate-enabled` to enable the feature.

## Multi-cluster setup

Expand Down

0 comments on commit 86e9900

Please sign in to comment.