Defining audit log settings

You can control the size of audit log files and the number of rotations, or archives, the DataPower® Gateway maintains.

About this task

By default, the DataPower Gateway creates and maintains an audit log file and three rotations that can contain 1000 KB of records. You can change the size of the files and the number of rotations.
  • audit-log
  • audit-log.1
  • audit-log.2
  • audit-log.3
  • When the contents of the audit-log file reach the defined size, a rotation occurs. A new audit file continues to record audit events. The audit-log file that is filled becomes the audit-log.1 file. More rotation files are renamed from audit-log.n to audit-log.n+1, for as many rotations that are defined.
  • When the maximum number of rotations are generated, the oldest rotation file is replaced. The data in the oldest rotation is lost.

You cannot access the audit: directory with the File Management utility. You cannot modify entries in the audit log.

Procedure

  1. In the search field, enter audit.
  2. From the search results, click Audit Log Settings.
  3. In the Log size field, enter the maximum size for an audit log file.
  4. In the Number of rotations field, enter the maximum number of rotations to maintain.
  5. Click Apply to save changes to the running configuration.
  6. Click Save to save changes to the persisted configuration.