The Local Audit Logging feature enables you to configure the local log file details. While configuring an event, if you select the Notification Type as Log message to a Local file, the configuration settings made in the Local Audit Logging page are used to create the files. This feature is available only for logging change events (not agent events). For more information about the Log message to a Local file option, see Notification Types:.
On a Windows Primary Server, the local files include the following:
AuditLog.csv located in <>\logs
On a Linux Primary Server, the local files include the following:
AuditLog.csv located in
To configure the local audit logging settings:
In ZENworks Control Center, click Configuration.
In the Management Zone Settings section of the Configuration tab, click Audit Management.
Click Local Audit Logging.
Specify the following details:
Rolling Based on Size: Closes the current audit event log file and starts a new one based on the file size:
Limit File Size to: Specify the maximum size of the audit event log file, in either kilobytes (KB) or megabytes (MB). The audit event log file is closed after reaching the specified size and a new one is started.
Number of Backup Files: Specify the number of closed files to be retained as backups. The maximum number of backup files is 13.
Example: If 3 is specified, then only the recent 3 backup files are retained and remaining files are deleted automatically.
Rolling Based on Date: Closes the current audit event log file and starts a new one based on the date. Based on the required frequency, you can use the Daily Pattern or Monthly Pattern options.
NOTE:Logging based on rolling dates (daily pattern or monthly pattern) will work only when the log file size reaches 100 MB.
IMPORTANT:The backup files are not cleared automatically, ensure that these files are cleared manually.