Applicable in AddLog-class directives.
The record-useragent function records the IP address of the client, followed by its User-Agent HTTP header. This indicates what version of the client was used for this transaction.
The following table describes parameters for the record-useragent function.
Table 4–74 record-useragent Parameters| Parameter | Description | 
|---|---|
| name | (Optional) Gives the name of a log file, which must have been given as a parameter to the init-clf function in magnus.conf. If no name is given, the entry is recorded in the global log file. | 
| bucket | (Optional) Common to all obj.conf functions. | 
# Record the client ip address and user-agent to browserlog AddLog fn=record-useragent name=browserlog