Managing Security Logs; Saving Security Logs Into The Security Log File - HP 5920 Configuration Manual

Table of Contents

Advertisement

Step
7.
Save the logs in the log file
buffer to the log file.

Managing security logs

Security logs are very important for locating and troubleshooting network problems. Generally, security
logs are output together with other logs. It is difficult to identify security logs among all logs.
To solve this problem, you can save security logs into the security log file without affecting the current log
output rules.

Saving security logs into the security log file

After you enable the saving of the security logs into the security log file:
The system first outputs security logs to the security log file buffer.
The system saves the logs from the security log file buffer into the security log file at a specified
interval (the security log administrator can also manually save security logs into the log file).
After the security logs are saved, the buffer is cleared immediately.
The device supports only one security log file. To avoid security log loss, you can set an alarm threshold
for the security log file usage. When the alarm threshold is reached, the system outputs a message to
inform the administrator. The administrator can log in to the device as the security log administrator and
back up the security log file to prevent the loss of important data.
To save security logs into the security log file:
Step
1.
Enter system view.
2.
Enable the information center.
3.
Enable the saving of the
security logs into the security
log file.
4.
Set the interval at which the
system saves security logs.
5.
(Optional.) Set the maximum
size of the security log file.
Command
Method 1: Configure the
interval to perform the save
operation:
info-center logfile frequency
freq-sec
Method 2: Manually save the
logs in the log file buffer to the
log file:
logfile save
Command
system-view
info-center enable
info-center security-logfile enable
info-center security-logfile
frequency freq-sec
info-center security-logfile
size-quota size
86
Remarks
Use either method.
The default saving interval is
86400 seconds.
Execute the logfile save command
in any view.
Remarks
N/A
By default, the information center is
enabled.
By default, saving security logs into
the security log file is disabled.
By default, the system saves
security logs into the security log
file every 86400 seconds.
By default, the maximum size of the
security log file is 10 MB.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents