Audit Log Replication Data Importer

The Oracle Communications Unified Assurance Audit Log Replication Data Importer service imports audit logs from the Assure1 database (MySQL) to the Historical database (OpenSearch). See Monitoring Unified Assurance User Activity for more details.

To start this service:

  1. Run the following command as the root user on your server with the Database.Historical role, to make sure you have AnalyticsWizard running:

    ./AnalyticsWizard
    
  2. Switch AnalyticsWizard to auditlog mode:

    ./AnalyticsWizard --mode auditlog
    

Default Service

The following table shows the settings for the default service. Actual values are in bold, descriptions of values are in plaintext.

Field Default Value
Package Name historicalProcessing-app
Service Name Audit Log Replication Data Importer
Service Program bin/historical/AuditLogReplImporterd
Service Arguments This field is blank. There is no default value.
Service Description Imports audit logs from MySQL to OpenSearch
Failover Type Standalone (Supported: Standalone)
Status Disabled (Automatically switched to Enabled after running AnalyticsWizard.)
Privileged This option is selected.

Default Configuration

The following table shows the default configurations for the application. Actual values are in bold, descriptions of values are in plaintext.

Name Default Value Possible Values Notes
LogFile logs/AuditLogReplImporterd.log Text, 255 characters The relative path to the log file.
LogLevel ERROR OFF, FATAL, ERROR, WARN, INFO, DEBUG The logging level for the application.
ActiveBackup False True or False Whether this service is associated with a secondary server (True) or a primary server (False).
ReplicateOldest False True or False Whether to start reading the binlog from the oldest record (True) or from the last read location (False).
DBThreads 3 An integer The number of concurrent threads to create to synchronize data to the Historical database.
Limit 1600 An integer no greater than 1600. The maximum number of rows sent in historical database inserts. If the row limit is reached before the time limit, the batch of rows is sent and the timer is reset. If you set this to a value greater than 1600, it is ignored, a warning appears in the logs, and 1600 is used.
BulkTime 10 An integer The maximum number of seconds to wait for the number of rows specified in Limit. If the time limit is reached before the row limit, the current batch of rows is sent.