Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1211
 
38-45
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
 
Chapter 38      Logging
  Log Subscriptions
Rolling Over Log Subscriptions on Demand
To roll over log subscriptions immediately using the GUI:
Procedure 
Step 1
On the System Administration > Log Subscriptions page, mark the checkbox to the right of the logs you 
wish to roll over.
Step 2
Optionally, you can select all logs for rollover by marking the All checkbox.
Step 3
Once one or more logs have been selected for rollover, the Rollover Now button is enabled. Click the 
Rollover Now button to roll over the selected logs.
Viewing Recent Log Entries in the GUI
Before You Begin 
You must have the HTTP or HTTPS service enabled on the Management interface in order to view logs 
via the GUI.
Procedure 
Step 1
Select System Administration > Log Subscriptions
Step 2
Select the log subscription in the Log Files column of the table. 
Step 3
Sign in. 
Step 4
Select a log file to view it in your browser or to save it to disk. 
Viewing Recent Log Entries in the CLI (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. Use Ctrl-C to 
exit from the 
tail
 command. 
Example
In the following example, the 
tail
 command is used to view the system log. (This log tracks user 
comments from the 
commit
 command, among other things.) The tail command also accepts the name of 
a log to view as a parameter: 
tail mail_logs
.
mail3.example.com> tail
Currently configured logs: