Cisco Cisco Web Security Appliance S190 Guía Del Usuario
C O N F I G U R I N G C U S T O M F O R M A T T I N G I N A C C E S S L O G S
C H A P T E R 2 0 : L O G G I N G
457
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.
access log file entries. Click the access log file name to edit the access log subscription.
Figure 20-2 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 %d
You can add tokens before the format specifiers to display descriptive text in the access log
file. For example:
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
%c
.
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” on page 459.
For more information, see “Including HTTP/HTTPS Headers in Log Files” on page 459.
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.
W3C log file entries. Click the W3C log file name to edit the W3C log subscription.