%host_r 接收的主机名或IP地址 (仅用于mail日志)
%lognamequot 带双引号的 经认证的 登录/用户 格式为: "alex"
%logname 经认证的 登录/用户 格式为: format: alex
%time1 日期和时间 格式为: [dd/mon/yyyy:hh:mm:ss +0000] 或 [dd/mon/yyyy:hh:mm:ss]
%time2 日期和时间 格式为: yyyy-mm-dd hh-mm-ss
%time3 日期和时间 格式为: Mon dd hh:mm:ss or Mon dd hh:mm:ss yyyy
%time4 日期和时间 格式为unix时间戳: dddddddddd
%methodurl 请求方式和URL 格式为: "GET /index.html HTTP/x.x"
%methodurlnoprot 请求方式和URL 格式为: "GET /index.html"
%method 请求方式 格式为: GET
%url 请求的URL 格式为: /index.html
%query 查询字符串(被URLWithQuery选项使用)
%code 返回的状态代码(web日志的格式为: 999)
%bytesd 档案的大小,以字节bytes为单位
%refererquot Referer页面 格式为: "http://from.com/from.htm"
%referer Referer页面 格式为: http://from.com/from.htm
%uaquot User agent 格式为: "Mozilla/4.0 (compatible, ...)"
%ua User agent 格式为: Mozilla/4.0_(compatible...)
%gzipin mod_gzip压缩输入的字节(bytes) 格式为: In:XXX
%gzipout mod_gzip压缩输出的字节和压缩比率(bytes & ratio) 格式为: Out:YYY:ZZpct.
%gzipratio mod_gzip压缩比率(ratio) 格式为: ZZpct.
%deflateratio mod_deflate压缩比率(ratio) 格式为: (ZZ)
%email EMail发送者 (仅用于mail日志)
%email_r EMail接收者 (for mail log)
%virtualname web服务器虚拟主机名.当同一日志文件中包含多个虚拟主机的数据时使用,AWStats会抛弃虚拟主机名不在SiteDomain或HostAliases指令中的记录
%cluster 如果日志文件来自不同的主机(使用logresolvemerge.pl合并的), 这个tag定义cluster id
%extraX X为数字,你计划使用ExtraSection属性来生成个性化报告的一个字段
如果日志中有一些字段不包括在上面列表的关键词tag中,使用
%other 其它不使用双引号的字段 格式为: other
%otherquot 其它使用双引号的字段 格式为:"other"
本文示例为:
LogFormat=1
等效的自定义格式为:
LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"
LogSeparator:日志字段的分隔符。
格式:LogSeparator="separator"
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-22769-5.html
可以去日本本土附近12海里巡航下
非权力非战略能定而
骂不过