Adding IP Address of outbound server to access log


<< Back to Knowledge Search

Solution

Overview

Question.

I would like to add IP address of outbound server URL to access log.

Answer.

You can accomplish this by adding "r-ip" field into log format.

Below is default log format of "main"

localtime time-taken c-ip sc-status s-action sc-bytes cs-bytes cs-method cs-uri-scheme cs-host cs-uri-port cs-uri-path cs-uri-query cs-username cs-auth-group s-supplier-name rs(Content-Type) cs(Referer) cs(User-Agent) sc-filter-result cs-categories x-virus-id s-ip

You can add "r-ip" field like this.

localtime time-taken c-ip r-ip sc-status s-action sc-bytes cs-bytes cs-method cs-uri-scheme cs-host cs-uri-port cs-uri-path cs-uri-query cs-username cs-auth-group s-supplier-name rs(Content-Type) cs(Referer) cs(User-Agent) sc-filter-result cs-categories x-virus-id s-ip

For more information, please refer to "Creating Custom Access Log Formats" chapter in Administration Guide.

Cause
Resolution
Workaround
Additional Information
Bug Number
InQuira Doc IdFAQ1863
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      ProxySG
Article Number      000007774
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat