Skip to content

Fine-Tuning Audit Data Delivery

Privacera PolicySync connectors send access audit events to the Audit Server in batches. Two settings control how those batches are formed and how large each event's request data can be. Tuning these values helps prevent HTTP 413 errors from the Audit Server and reduces the impact of high-volume audit streams.

If your environment generates high-volume audit streams or you observe HTTP 413 errors from the Audit Server, adjust these settings as described below.

These settings apply to all PolicySync connectors.

Configuration Properties

Property Description Default Value
Audit Server Batch Size Number of audit events sent to the Audit Server in a single batch. 100
Audit Request Data Max Characters Maximum number of characters kept in the requestData field of each audit event. Events with longer request data are truncated before delivery to prevent HTTP 413 errors. 4096

Setup

  1. SSH to the instance where Privacera Manager is installed.

  2. Open the connector variables file for editing:

    Note

    Replace <connector-type> and <instance> with your connector type and instance name.

    Bash
    vi ~/privacera/privacera-manager/config/custom-vars/connectors/<connector-type>/<instance>/vars.connector.<connector-type>.yml
    
  3. Add or update the following properties:

    YAML
    CONNECTOR_AUDITSERVER_BATCH_SIZE: "100"
    CONNECTOR_AUDIT_REQ_DATA_MAX_CHARS: "4096"
    
  4. Apply the changes:

    Step 1 - Setup which generates the helm charts. This step usually takes few minutes.

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh setup
    
    Step 2 - Apply the Privacera Manager helm charts.
    Bash
    cd ~/privacera/privacera-manager
    ./pm_with_helm.sh upgrade
    
    Step 3 - (Optional) Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on. This step is not required if you are updating only connector properties.

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh post-install
    
  1. In the PrivaceraCloud portal, navigate to SettingsApplications.

  2. On the Connected Applications screen, select your connector.

  3. Select the pen icon or the Account Name to open the edit screen.

  4. Go to Access ManagementADVANCED tab.

  5. Under Add New Custom Properties, add the following:

    Properties
    xasecure.audit.destination.auditserver.batch.batch.size=100
    audit.req.data.max.chars=4096
    
  6. Select SAVE to apply the changes.