ATS自定义日志中的各字段解读
来源:互联网 发布:微信出题软件 编辑:程序博客网 时间:2024/04/29 03:48
参考 http://blog.csdn.net/tao_627/article/details/45844287
参考https://docs.trafficserver.apache.org/en/latest/admin-guide/logging/examples.en.html
定义
<Format = "%<cqtq> %<ttms> %<pssc> %<sssc> [%<cqtt>] %<{X-Forwarded-For}cqh> \"%<cqtx>\" %<psql> \"%<pqsi>\" %<crc>:%<phr> %<{Referer}cqh> \"%<{User-Agent}cqh>\" %<psct>"/>
实例如下:
1432194201.810 8945 200 200 [15:43:21] 211.143.88.220 "GET http://111.13.140.12:80/youku/697814A886D39744A94514B27/03000208005506A3413AA803BAF2B1552E0345-4545-BEED-FC67-17B76E3C0F6D.flv HTTP/1.1" 12979938 "*Not IP address [0]*" TCP_MEM_HIT:NONE http://v.youku.com/v_show/id_XOTEzMjM1Njgw.html?from=y1.3-idx-grid-1519-9909.86808-86807.3-1 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Trident/4.0;)" video/x-flv1432118160.693 348 200 200 [18:36:00] 10.10.110.142 "GET http://123.126.104.80:80/sohu/s26h23eab6/v1/TmwATmw7qKINgmNVqF16q6bV0esvD6sRPVcXNhWL5m47fFoGRMNiNw.mp4?k=zjXjSK&p=XZhuOp3AjfK&r=TmI20LscWOoCNLfcWOyXwmXAyBj&q=OpCBhW7IWJodRDbsfhASotE7ZDvOfhXOfJ1HfhAHfhysvmbcWJWXfGdtZhNSqD24WYoUZDJ&cip=221.220.19.171 HTTP/1.1" 1010003 "123.126.104.80" TCP_MISS:DIRECT http://tv.sohu.com/20140502/n399076828.shtml "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36" video/mp4
各域名字段说明如下:
{HTTP header field name}cqh Logs the information in the requested field of the client request HTTP header
cqtq
The client request timestamp, with millisecond resolution,unix timestamp,单位是毫秒
ttms
The time Traffic Server spends processing the client request(处理该请求的总耗时,单位是毫秒,这个时间包括了ATS回源时间stms); the number of milliseconds between the time the client establishes the connection with Traffic Server and the time Traffic Server sends the last byte of the response back to the client.
pssc
The HTTP response status code from Traffic Server to the client
sssc
The HTTP response status code from origin server to Traffic Server
cqtt
The client request timestamp. The time of the client request in the format hh:mm:ss, where hh is the two-digit hour in 24-hour format, mm is the two-digit minutes value,and ss is the 2-digit seconds value (for example, 16:01:19).
{X-Forwarded-For}cqh
X-Forwarded-For header
cqtx
The full HTTP client request text, minus headers; for example,GET http://www.company.com HTTP/1.0; In reverse proxy mode, Traffic Server logs the rewritten/mappedURL (according to the rules in remap.config), _not_ the pristine/unmapped URL.
psql
The proxy response transfer length in Squid format (includes header and content length).
pqsi
The proxy request server IP address (0 on cache hits and parent-ip for requests to parent proxies).
crc
The cache result code; specifies how the cache responded to the request (HIT, MISS, and so on).
phr
The proxy hierarchy route; the route Traffic Server used to retrieve the object.
{Referer}cqh
Referer header
{User-Agent}cqh
User-Agent header
psct
The content type of the document from server response header: (for example, img/gif ).
- ATS自定义日志中的各字段解读
- ATS自定义日志中的各字段解读
- ATS 5.3.0中自定义日志格式文件logs_xml.config解读
- ATS中的命令行工具解读
- ATS 5.3.0日志字段分析(续)
- ATS 4.2.3自定义日志文件格式的方法
- ATS 5.3.0中按域名生成日志配置文件log_hosts.config解读
- ats日志过滤
- log4net 自定义Layout日志字段
- ATS配置文件remap.config解读
- ats中的via首部
- ATS日志格式中的Squid-和Netscape-格式的缓存结果码
- log4j日志格式加入自定义字段信息
- 日志级别之前增加自定义字段
- ATS插件channel_stats源码分析解读
- ATS中的RAM缓存简介
- 【Launcher2源码解读】Launcher中的自定义控件
- TestNG测试报告中的自定义日志
- JavaWeb开发SSM框架(Spring+SpringMVC+Mybatis)环境Jar包
- swift3.0 collectionView添加长按手势识别
- Servlet 3.0中的异步处理支持
- 返回字符串函数的四种实现方法
- [杂题] BZOJ3522: [Poi2014]Hotel
- ATS自定义日志中的各字段解读
- maven项目中的groupid和artifactid是什么意思?
- 爬虫入门系列(一):快速理解HTTP协议
- java中jframe子亲窗口向父窗口传值
- 总结一些自己在前端上走过的路。
- No supported encrypter found. The cipher and / or key length are invalid.
- Android文件操作
- Spring boot入门
- antd icon离线无法显示 和引入官方库后覆盖原样式问题