Configure Maximum Payload Size for Audit Server¶
The maximum allowable payload size of data sent to the Audit Server is configurable using the steps below:
-
SSH into the instance where Privacera Manager is installed and navigate to the privacera-manager directory.
-
Run the following command to copy the sample vars. The
-nflag ensures that the file is not overwritten if it already exists.Bash -
Run the following command to open the
.ymlfile for editing:Bash -
Add or update the following properties:
-
Save the file and restart the service by following these steps:
Tip
- The default maximum payload size is 100 MB. Adjust
AUDITSERVER_MAX_CONTENT_LENGTH_MBas needed. AUDITSERVER_RANGER_FILESPOOL_MAX_SIZE_PERCENTcontrols what fraction of the inbound limit is used as the per-file spool cap. The default of 70% leaves a buffer so that no single spool file exceeds the server limit.- To set an absolute cap instead of a percentage, override
AUDITSERVER_RANGER_FILESPOOL_MAX_SIZE_BYTESdirectly with a static byte value. - If Fluentd is configured, ensure that the following properties are updated accordingly:
AUDIT_FLUENTD_BODY_SIZE_LIMIT_MBAUDIT_FLUENTD_S3_FILE_SIZE(destination specific)
Refer Fluentd Payload and Buffer Configuration for more details.