Cisco Cisco Web Security Appliance S170 ユーザーガイド

ページ / 619
 
24-9
Cisco IronPort AsyncOS 7.7.5 for Web User Guide
 
Chapter 24      Logging
Working with Log Subscriptions
Manually Rolling Over Log Subscriptions Using the GUI
Step 1
On the System Administration > Log Subscriptions page, mark the checkbox to the right of the log 
subscriptions you wish to roll over.
Step 2
Optionally, you can select all log subscriptions for rollover by marking the All checkbox.
Step 3
Click Rollover Now to roll over the selected logs.
Automatically Rolling Over Log Subscriptions
You define a log subscription’s rollover settings when creating or editing the subscription using the 
System Administration > Log Subscriptions page in the GUI or the 
logconfig
 command in the CLI. The 
two settings available for triggering a log file rollover are:
  •
Maximum file size. For more information, see 
.
  •
Time interval. For more information, see 
.
 shows the rollover settings available for log subscriptions.
Figure 24-2
Log File Rollover Settings for Log Subscriptions
Rollover By File Size
AsyncOS rolls over log files when they reach a maximum file size to prevent them from using too much 
disk space. When defining a maximum file size for rollovers, use the suffix 
m
 for megabytes and 
k
 for 
kilobytes. For example, enter 
10m
 if you want AsyncOS to roll over the log file when it reaches 10 
megabytes.
Rollover By Time
If you want to schedule rollovers to occur on a regular basis, you can select one of the following time 
intervals:
  •
None. AsyncOS only performs a rollover when the log file reaches the maximum file size.
  •
Custom Time Interval. AsyncOS performs a rollover after a specified amount of time has passed 
since the previous rollover. To create a custom time interval for scheduled rollovers, enter the 
number of days, hours, and minutes between rollovers using 
d
h
, and 
m
 as suffixes.
  •
Daily Rollover. AsyncOS performs a rollover every day at a specified time. If you choose a daily 
rollover, enter the time of day you want AsyncOS to perform the rollover using the 24-hour format 
(HH:MM). Separate multiple times a day using a comma. Use an asterisk (*) for the hour to specify 
that AsyncOS should perform the rollover every hour during the day. You can also use an asterisk 
to rollover every minute of an hour.