Google App Engine HTTP 日志中的所有列是什么?
Google App Engine HTTP 日志中的所有数据有何含义?例如,在以下(匿名)日志中:
107.10.42.191 - foobiz [10/May/2011:17:26:28 -0700] "GET /page.html HTTP/1.1" 500 2297 "http://www.example.com/home.html" "Mozilla/5.0(Macintosh;U;Intel Mac OS X 10_5_8;en-us)AppleWebKit /533.19.4(KHTML,如 Gecko)版本/5.0.3 Safari/533.19.4,gzip(gfe),gzip(gfe),gzip(gfe)" "www.example.com" ms=364 cpu_ms=23 api_cpu_ms =0 cpm_usd=0.001059
我理解大部分列,你能帮忙填写第2列和第14列吗?
- IP 地址:107.10.42.191
- 只是一个连字符,还是更多?:-
- 登录用户:foobiz
- 请求时间:[10/May/2011:17:26:28 -0700]
- HTTP 请求:“ GET /page.html HTTP/1.1"
- HTTP 响应状态代码:500
- HTTP 响应大小(以字节为单位):2297
- 引用页面:"http://www.example.com/home.html"
- 浏览器信息:"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.19.4 (KHTML,像 Gecko)版本/5.0.3 Safari/533.19.4,gzip(gfe),gzip(gfe),gzip(gfe)"
- 主机:"www.example.com"
- 总时间:ms=364
- CPU 时间:cpu_ms=23
- API 时间:api_cpu_ms=0
- 这是什么?:cpm_usd=0.001059
我知道有一个 关于SO的类似问题,但它似乎已经过时并且没有得到真正的回答。
What does all of the data in a Google App Engine HTTP log mean? For example, in the following (anonymised) log:
107.10.42.191 - foobiz [10/May/2011:17:26:28 -0700] "GET /page.html HTTP/1.1" 500 2297 "http://www.example.com/home.html" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe),gzip(gfe),gzip(gfe)" "www.example.com" ms=364 cpu_ms=23 api_cpu_ms=0 cpm_usd=0.001059
I understand most of the columns, can you help fill in columns 2 and 14?
- IP Address: 107.10.42.191
- Just a hyphen, or something more?: -
- Logged in user: foobiz
- Request Time: [10/May/2011:17:26:28 -0700]
- HTTP Request: "GET /page.html HTTP/1.1"
- HTTP Response Status Code: 500
- HTTP Response Size in Bytes: 2297
- Referring Page: "http://www.example.com/home.html"
- Browser Info: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe),gzip(gfe),gzip(gfe)"
- Host: "www.example.com"
- Total Time: ms=364
- CPU Time: cpu_ms=23
- API Time: api_cpu_ms=0
- What is this?: cpm_usd=0.001059
I know there is a similar question on SO, but it seems outdated and wasn't really answered.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
日志采用 Apache 组合日志格式,以及一些附加字段。这些字段按顺序为:
Logs are in Apache Combined Log Format, with some additional fields. The fields, in order, are:
这个问题已在这里得到解答:GAE/J 请求日志格式细分
cpm_usd 是1000 个类似请求的估计费用(以美元计算)。
This question has been answered here: GAE/J request log format breakdown
cpm_usd is the estimated cost of 1000 similar requests in US dollars.