Cisco Cisco Content Security Management Appliance M1070 Mode D'Emploi

Page de 432
 
15-26
AsyncOS 9.5.2 for Cisco Content Security Management Appliances User Guide
 
Chapter 15      Logging
  Log Subscriptions
Rolling Over Log Subscriptions 
When AsyncOS rolls over a log file, it: 
Creates a new log file with the timestamp of the rollover and designates the file as current with the 
letter “
c
” extension
Renames the current log file to have a letter “
s
” extension signifying saved
Transfers the newly saved log file to a remote host (if push-based)
Transfers any previously unsuccessful log files from the same subscription (if push-based)
Deletes the oldest file in the log subscription if the total number of files to keep on hand has been 
exceeded (if poll-based)
Rolling Over Logs in Log Subscriptions 
See 
Rolling Over Logs Immediately Using the GUI 
Procedure 
Step 1
On the Log Subscriptions page, select the check box to the right of the logs you want to roll over.
Step 2
Optionally, select all logs for rollover by selecting the All check box.
Step 3
Click the Rollover Now button.
Rolling Over Logs Immediately via the CLI
Use the 
rollovernow
 command to roll over all log files at once or select a specific log file from a list.
Viewing the Most Recent Log Entries in the GUI
You can view a log file via the GUI by clicking the log subscription in the Log Files column of the table 
on the Log Subscriptions page. When you click the link to the log subscription, you are prompted to enter 
your password. A listing of log files for that subscription then appears. You can click one of the log files 
to view it in your browser or to save it to disk. You must have the FTP service enabled on the 
Management interface to view logs in the GUI. 
Viewing the Most Recent Entries in Logs (tail Command) 
AsyncOS supports a 
tail
 command, which shows the latest entries of configured logs on the appliance. 
Issue the 
tail
 command and select the number of a currently configured log to view it. Press Ctrl-C to 
exit from the 
tail
 command. 
Note
You cannot view configuration history logs by using the 
tail
 command. You must use FTP or SCP.