
Description
Default Value
Key
false
Specifies that the controller does not delete log entries
that have exceeded the
trim.auditlog.age
limit.
Specifies how often, in hours, the controller is to delete log entries that have
exceeded the
trim.alert.age
limit.
24
trim.frequency
Data type
A number from 8 through 168
Example
Enter
24
to specify that the controller delete aged-out log
entries every 24 hours (once per day).
To configure how audit log data ages out:
1.
On the
Configurations
screen in the
System
tab, select the
com.hp.sdn.adm.auditlog.impl.AuditLogManager
component.
2.
Click
Modify
.
The
Modify System Configuration
dialog box is displayed for the
com.hp.sdn.adm.auditlog.impl.AuditLogManager
component.
3.
Change the values for the keys (these keys are described in the table above).
4.
Click
Apply
.
Figure 16 The AuditLogManager Configuration Component Controls Audit Log Policy
Exporting and archiving audit log data
To retain log records for longer than the
trim.auditlog.age
limit, you must export the audit
log from the controller to a file before the
trim.auditlog.age
limit is reached. Exporting audit
log data does not remove it from persistent storage.
To export the audit log, you must use the REST APIs since this action cannot be performed in
the UI.
For example, you can use the curl command at
“Export audit log data as a CSV file using curl
Audit log
51