GET/v1/monitor/site/access-log
page
integer
当前页码
limit
integer
单页显示数量
start
string
required
日志开始时间,如2021-11-26 12:10:02
end
string
required
日志结束时间,如2021-11-26 12:20:03
host
string
域名,多个域名空格分隔
server_port
string
访问端口
addr
string
访客IP
req_uri
string
请求uri
status
string
状态码
cache_status
string
命中状态,可选值为HIT、MISS
返回结果
{
	"code": 0,
	"count": 175,
	"data": [{
		"addr": "1.1.1.1",
		"bytes_sent": "0",
		"cache_status": "-",
		"content_type": "-",
		"host": "for-test.cdnfly.cn",
		"method": "GET",
		"nid": "110",
		"protocol": "HTTP/1.1",
		"referer": "-",
		"req_uri": "/",
		"server_port": "443",
		"status": "444",
		"time": "26/Nov/2021:23:10:39 +0800",
		"timestamp": 1637939439000,
		"up_recv": "0",
		"up_resp_time": "0",
		"user_agent": "curl/7.47.0",
                 "country": "中国",
                "province": "广东",
                "city": "广州"
	}, {
		"addr": "2.2.2.2",
		"bytes_sent": "0",
		"cache_status": "-",
		"content_type": "-",
		"host": "for-test.cdnfly.cn",
		"method": "GET",
		"nid": "110",
		"protocol": "HTTP/1.1",
		"referer": "-",
		"req_uri": "/",
		"server_port": "443",
		"status": "444",
		"time": "26/Nov/2021:23:10:38 +0800",
		"timestamp": 1637939438000,
		"up_recv": "0",
		"up_resp_time": "0",
		"user_agent": "curl/7.47.0",
                 "country": "中国",
                "province": "广东",
                "city": "广州"
	}]
}
© 版权声明
评论 抢沙发

请登录后发表评论

    暂无评论内容