Nginx access log, error log parameter description

Source: Internet
Author: User

Access log [Access.log]

' $remote _addr $remote _user [$time _local] ' $request ' $http _host '
' $status $upstream _status $body _bytes_sent ' $http _referer '
"$http _user_agent" $ssl _protocol $ssl _cipher $upstream _addr '
' $request _time $upstream _response_time ';

On-line examples:

116.9.137.90–[02/aug/2012:14:47:12 +0800] "get/images/xx/20100324752729.png Http/1.1″
img.alipay.com 200 200 2 038 Https://cashier.alipay.com/XX/PaymentResult.htm?payNo=XX&outBizNo=2012XX
mozilla/4.0 (compatible ; MSIE 8.0; Windows NT 6.1; trident/4.0; SLCC2. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; 360SE) "
 tlsv1 aes128-sha 10.228.21.237:80 0.198 0.001
 
Offline test ($http _referer):
1
10.14.21.197––[14/aug/2012:17:28:22 +0800] "get/spanner/watch/v1?–db=ztg-1&–mode=compare&–index= status&–option=&–cluster=whole&-f=2012%2f8%2f12-00%3a00%3a00&-t=%2b2880& amp;-i=1&-n=0&_=1344936501292 http/1.1 "94193" http://spanner.alipay.net/optionFrame/ History.html "" mozilla/5.0 (Windows NT 6.1) applewebkit/537.1 (khtml, like Gecko) chrome/21.0.1180.60 safari/537.1 "
N Ginx access log, error log parameter description
Note: $http _referer and redirection.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.