rotate
This command sets the number of rotations of audit log files.
Syntax
rotate rotations
Parameters
- rotations
- Sets the number of rotations of audit log files. Enter a value in the range 1 - 100. The default value is 3.
Guidelines
The rotate command
sets the number of rotations of audit log files.
- When the contents of the audit-log file reach the size set by the size command, 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 set by the rotate command.
- When the maximum number of rotations are generated, the oldest rotation file is replaced. The data in the oldest rotation is lost.
Example
Set the appliance for
5 rotations of audit log files at 5000 KB each. In this case, the
appliance can maintain up to 30,000 KB of audit records, which are
the audit-log file and its five rotations.
# size 5000
# rotation 5