Blue Coat Systems Proxy SG Time Clock User Manual


 
ProxySG Content Policy Language Guide
196
log.rewrite.field-id()
The log.rewrite.field-id property controls rewrites of a specific log field in one or more access
logs. Individual access logs are referenced by the name given in configuration. Configuration also
determines the
format of the each log. For more information on logging, refer to Chapter 19: “Access
Logging” in the ProxySG Configuration and Management Guide.
Syntax
log.rewrite.field-id(“substitution”|no)
log.rewrite.field-id[log_name_list](“substitution”|no)
where:
field-id—Specifies the log field to rewrite. Some field-ids have embedded parentheses, for
example
cs(User-agent). These field-ids must be enclosed in quotes. There are two choices for
quoting, either of which are accepted by the CPL compiler:
log.rewrite."cs(User-agent)”(...)
“log.rewrite.cs(User-agent)(...)”
Either single or double quotes may be used.
log_name_list—A comma separated list of configured access logs, of the form:
log_name_1, log_name_2, ...
substitution—A quoted string containing replacement text for the field. The substitution string
can contain CPL substitution variables.
no—Cancels any previous substitution for this log field.
Discussion
Each of the syntax variants has a different role in specifying the rewrites for the access log fields used
to record the transaction:
log.rewrite.field-id( ) specifies a rewrite of the field_id field in all access logs selected for
this transaction.
log.rewrite.field-id[log_name_list]( ) specifies a rewrite of the field_id field in all
access logs named in
log_name_list. The field_id field in any logs not named in the list is
unaffected.
Layer and Transaction Notes
Use in all layers.
Applies to all proxy transactions.
See Also
•Properties:
access_log( ), log.suppress.field-id()