Cisco Cisco Web Security Appliance S170 사용자 가이드
24-36
Cisco IronPort AsyncOS 7.7 for Web User Guide
Chapter 24 Logging
Custom Formatting in Access Logs and W3C Logs
Configuring Custom Formatting in Access Logs
Use the System Administration > Log Subscriptions page to configure custom formatting for access log
file entries. Click the access log file name to edit the access log subscription.
file entries. Click the access log file name to edit the access log subscription.
Figure 24-4
Configuring Custom Log Fields in the Access Logs
The syntax for entering format specifiers in the Custom Field is as follows:
<format_specifier1> <format_specifier2>
For example:
%a %b %E
You can add tokens before the format specifiers to display descriptive text in the access log file. For
example:
example:
client_IP %a body_bytes %b error_type %E
where
client_IP
is the description token for log format specifier
%a
,
body_bytes
is the descriptive token
for
%b
, and
error_type
is the descriptive token for
%E
.
Note
You can create a custom field for any header in a client request or a server response. For more
information, see
information, see
Configuring Custom Formatting in W3C Logs
Use the System Administration > Log Subscriptions page to configure custom formatting for W3C log
file entries. Click the W3C log file name to edit the W3C log subscription.
file entries. Click the W3C log file name to edit the W3C log subscription.