Cisco Cisco Web Security Appliance S170 사용자 가이드

다운로드
페이지 734
 
25-36
Cisco IronPort AsyncOS 7.5.7 for Web User Guide
Chapter 25      Logging
Including HTTP/HTTPS Headers in Log Files
You can add tokens before the format specifiers to display descriptive text in the access log file. For 
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 
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.
Figure 25-5
Configuring Custom Log Fields in the W3C Logs
Enter the custom fields to add in the Custom Fields text box in the Log Fields section. You can enter 
multiple custom fields in the Custom Fields text box and add them simultaneously as long as each entry 
is separated by a new line (click Enter) before clicking Add.
Note
You can create a custom field for any header in a client request or a server response. For more 
information, see 
Including HTTP/HTTPS Headers in Log Files
If the list of predefined access log and W3C log fields does not include all header information you want 
to log from HTTP/HTTPS transactions, you can type a user defined log field in the Custom Fields text 
box when you configure the access and W3C log subscriptions.