nginx日志列名称(空格分隔)

分析nginx日志时会用到的。

 

log_format  bbs  '$host $remote_addr - $remote_user [$time_local] "$request" '
              '$status $body_bytes_sent "$http_referer" '
              '"$http_user_agent" ';
             

$1 host
$2 IP
$5 time
$7 http method
$8 request url
$10 http status code
$11 body_bytes_sent
$12 http referer
$13 http user agent

你可能感兴趣的:(nginx,user,url,bbs)