发布网友 发布时间:2022-04-24 04:47
共1个回答
热心网友 时间:2023-08-03 22:30
从这个日志中无法判断,你可以在web服务器的配置中去查看 日志格式 的配置。
以nginx 为例:
日志格式
log_format upstreaminfo '$the_real_ip - [$the_real_ip] - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $request_length $request_time [$proxy_upstream_name] [$proxy_alternative_upstream_name] $upstream_addr $upstream_response_length $upstream_response_time $upstream_status $req_id';
得到以下日志
58.247.1xx.xx - [58.247.1xx.xx] - - [23/May/2020:05:23:30 +0000] "GET /v3/settings/ui-pl HTTP/2.0" 200 304 "https://demo.cnrancher.com/p/c-nhq2h:p-mhsz7/workload/statefulset:cattle-prometheus:alertmanager-cluster-alerting" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" 135 0.006 [cattle-system-ingress-b5fda8ca3439662436b7e6850de7592d-80] [] 10.42.0.229:80 501 0.004 200 e8bd9afa166b3c8f3d718e47ae6e5ac2