Applicable in AddLog-class directives.
The record-useragent function records the IP address of the client, followed by its User-Agent HTTP header. This value indicates what version of the client was used for this transaction.
The following table describes parameters for the record-useragent function.
Table 5–121 record-useragent Parameters
Parameter |
Description |
---|---|
name |
(Optional) Provides 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 browserlogAddLog fn=record-useragent name=browserlog |