Files
2026-03-01 01:43:46 +08:00

3.7 KiB
Raw Permalink Blame History

字段 中文含义 单位/说明 示例
$record_end_time_utc 日志记录结束时间(UTC UTC 时间,精确到毫秒 20250717T041631Z
$upstream_addr 上游服务器地址 IP:端口 120.46.246.26:443
$remote_addr 客户端 IP 地址 IP 180.76.30.140
$server_addr 服务器 IP 地址 IP 39.135.122.90
$request_method HTTP 请求方法 GET/POST/PUT 等 POST
$server_protocol HTTP 协议版本 HTTP/1.0/1.1/2 HTTP/1.1
$host 请求的 Host 域名或 IP p.cdn.10086.cn
$request_uri 请求的 URI 包含路径和查询参数 /cdn-cmcc/v1.0/cdn/content/refresh-tasks
$http_user_agent 客户端 User-Agent 浏览器/客户端标识 Go-http-client/1.1
$http_referer 请求来源页 Referer -
$sent_http_content_type 响应 Content-Type MIME 类型 application/json
$status 响应状态码 HTTP Status Code 200
- 占位符 固定为 - -
$server_port 服务器端口 端口号 443
$bytes_sent 向客户端发送的字节数 字节 977
$request_start_time_utc 请求开始时间 UTC 时间,精确到毫秒 20250717T041631.509Z
$request_end_time_utc 请求结束时间 UTC 时间,精确到毫秒 20250717T041631.987Z
$header_response_time_utc 响应头发送完成时间 UTC 时间,精确到毫秒 20250717T041631.955Z
- 占位符 空字段 -
- 占位符 空字段 -
$upstream_status 上游服务器返回状态码 HTTP Status Code 200
$hostnamex Nginx 节点名称或主机名 主机名 sh-nginx02.shlg.cmcdn.net
$http_CMCDN_Auth_Token 自定义认证令牌 CMCDN Auth Token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9…
$cp_id 内容提供商 ID 业务相关字段 yskccanw-w2pm0tyznngixx1f
$sub_action_type 子操作类型 业务相关字段 NULL
$action_type 操作类型 业务相关字段 0
$request_time 请求总耗时 0.478
$upstream_response_time 上游响应时间 0.446