Dig数据导出
方法:GET
https://network.tingyun.com/network-report-data/rawdata/digrawdata-json-authkey
请求参数
| 字段名 | 类型 | 必填 | 选项 | 描述 |
|---|---|---|---|---|
| authkey | String | 是 | -- | 授权码 |
| taskId | Int | 是 | -- | 任务ID |
| taskType | Int | 是 | 0:PC Ping任务 1:PC全页面任务 12:PC单文件任务 13:PC基本页面任务 2:PC事务任务 3:PC流媒体任务 255:私有协议任务 100:真机Ping任务 101:真机单文件任务 102:真机全页面任务 103:真机事务任务 104:真机基本页面任务 111:真机流媒体 |
任务类型 |
| pageSeq | Int | 否 | -- | 仅在事务任务获取对应步骤的数据时需要配置 |
| beginTimeStr | String | 是 | 格式:yyyy-MM-dd HH:mm,例如:2021-08-01 01:00 | 开始时间 |
| endTimeStr | String | 是 | 格式:yyyy-MM-dd HH:mm,例如:2021-08-01 02:00 | 结束时间 |
| pageId | Long | 否 | -- | 页面数据编号 |
返回参数
| 字段名 | 类型 | 描述 |
|---|---|---|
| status | Int | HTTP响应状态码 |
| data | String | |
| message | String | 提示信息 |
| error_code | Int | 错误状态码 |
| request | String | 请求路径 |
| time | Date | 当前请求时间 |
错误说明
| 字段说明 | 错误信息 |
|---|---|
| authkey | PermissionDeniedError |
返回示例
{
"status": 200,
"data": [
{
"id": 30097600,
"task_id": 3742979,
"tm_base": 1645500785000,
"country": "中国",
"province": "山东省",
"city": "济南市",
"isp": "中国联通",
"speed": "LastMile",
"dest_country": "中国",
"dest_province": "河北省",
"dest_city": "保定市",
"dest_isp": "中国联通",
"probe_ip_str": "124.128.86.28",
"dns_server": "101.198.198.198",
"member_id": 8497147,
"dest_ip": "110.242.68.3",
"err_msg": "",
"ts_total": 9,
"digcust_field1": 0,
"digcust_field2": 0,
"digcust_field3": 0,
"dest_name": "www.baidu.com",
"log_msg": "\r\n;; ->>HEADER<<- opcode: QUERY,status: NOERROR, id:21119\r\n;; flags:qr,rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0\r\n\r\n;; QUESTION SECTION:\r\n;www.baidu.com\t\tA\r\n\r\n;; ANSWER SECTION:\r\nwww.baidu.com.\t53\tCNAME\twww.a.shifen.com.\r\nwww.a.shifen.com.\t53\tA\t110.242.68.3\r\nwww.a.shifen.com.\t53\tA\t110.242.68.4\r\n\r\n;; MSG SIZE rcvd: 90\r\n;; Query time: 9 ms\r\n;; SERVER: 223.5.5.5\r\n- - - - - - - - - - - - - - - - - - - - - - -"
},
{
"id": 30097603,
"task_id": 3742979,
"tm_base": 1645500808000,
"country": "中国",
"province": "河北省",
"city": "邯郸市",
"isp": "中国联通",
"speed": "LastMile",
"dest_country": "中国",
"dest_province": "河北省",
"dest_city": "保定市",
"dest_isp": "中国联通",
"probe_ip_str": "101.23.144.151",
"dns_server": "192.168.0.1",
"member_id": 8763633,
"dest_ip": "110.242.68.4",
"err_msg": "",
"ts_total": 19,
"digcust_field1": 0,
"digcust_field2": 0,
"digcust_field3": 0,
"dest_name": "www.baidu.com",
"log_msg": "\r\n;; ->>HEADER<<- opcode: QUERY,status: NOERROR, id:13533\r\n;; flags:qr,rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0\r\n\r\n;; QUESTION SECTION:\r\n;www.baidu.com\t\tA\r\n\r\n;; ANSWER SECTION:\r\nwww.baidu.com.\t204\tCNAME\twww.a.shifen.com.\r\nwww.a.shifen.com.\t204\tA\t110.242.68.4\r\nwww.a.shifen.com.\t204\tA\t110.242.68.3\r\n\r\n;; MSG SIZE rcvd: 90\r\n;; Query time: 19 ms\r\n;; SERVER: 223.5.5.5\r\n- - - - - - - - - - - - - - - - - - - - - - -"
},
{
"id": 30099337,
"task_id": 3742979,
"tm_base": 1645500809000,
"country": "中国",
"province": "湖南省",
"city": "长沙市",
"isp": "中国电信",
"speed": "LastMile",
"dest_country": "中国",
"dest_province": "广东省",
"dest_city": "广州市",
"dest_isp": "中国电信",
"probe_ip_str": "222.247.180.210",
"dns_server": "202.103.96.112",
"member_id": 8089324,
"dest_ip": "14.215.177.39",
"err_msg": "",
"ts_total": 23,
"digcust_field1": 0,
"digcust_field2": 0,
"digcust_field3": 0,
"dest_name": "www.baidu.com",
"log_msg": "\r\n;; ->>HEADER<<- opcode: QUERY,status: NOERROR, id:27321\r\n;; flags:qr,rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0\r\n\r\n;; QUESTION SECTION:\r\n;www.baidu.com\t\tA\r\n\r\n;; ANSWER SECTION:\r\nwww.baidu.com.\t138\tCNAME\twww.a.shifen.com.\r\nwww.a.shifen.com.\t138\tA\t14.215.177.39\r\nwww.a.shifen.com.\t138\tA\t14.215.177.38\r\n\r\n;; MSG SIZE rcvd: 90\r\n;; Query time: 23 ms\r\n;; SERVER: 223.5.5.5\r\n- - - - - - - - - - - - - - - - - - - - - - -"
},
{
"id": 30099338,
"task_id": 3742979,
"tm_base": 1645500812000,
"country": "中国",
"province": "山东省",
"city": "临沂市",
"isp": "中国移动",
"speed": "LastMile",
"dest_country": "中国",
"dest_province": "北京",
"dest_city": "北京市",
"dest_isp": "中国移动",
"probe_ip_str": "112.36.18.143",
"dns_server": "114.114.114.114",
"member_id": 8691641,
"dest_ip": "39.156.66.14",
"err_msg": "",
"ts_total": 12,
"digcust_field1": 0,
"digcust_field2": 0,
"digcust_field3": 0,
"dest_name": "www.baidu.com",
"log_msg": "\r\n;; ->>HEADER<<- opcode: QUERY,status: NOERROR, id:46717\r\n;; flags:qr,rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0\r\n\r\n;; QUESTION SECTION:\r\n;www.baidu.com\t\tA\r\n\r\n;; ANSWER SECTION:\r\nwww.baidu.com.\t98\tCNAME\twww.a.shifen.com.\r\nwww.a.shifen.com.\t98\tA\t39.156.66.14\r\nwww.a.shifen.com.\t98\tA\t39.156.66.18\r\n\r\n;; MSG SIZE rcvd: 90\r\n;; Query time: 12 ms\r\n;; SERVER: 223.5.5.5\r\n- - - - - - - - - - - - - - - - - - - - - - -"
},
{
"id": 30099340,
"task_id": 3742979,
"tm_base": 1645500818000,
"country": "中国",
"province": "四川省",
"city": "成都市",
"isp": "中国电信",
"speed": "LastMile",
"dest_country": "中国",
"dest_province": "广东省",
"dest_city": "广州市",
"dest_isp": "中国电信",
"probe_ip_str": "171.221.150.233",
"dns_server": "192.168.31.1",
"member_id": 7470050,
"dest_ip": "14.215.177.38",
"err_msg": "",
"ts_total": 72,
"digcust_field1": 0,
"digcust_field2": 0,
"digcust_field3": 0,
"dest_name": "www.baidu.com",
"log_msg": "\r\n;; ->>HEADER<<- opcode: QUERY,status: NOERROR, id:36908\r\n;; flags:qr,rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0\r\n\r\n;; QUESTION SECTION:\r\n;www.baidu.com\t\tA\r\n\r\n;; ANSWER SECTION:\r\nwww.baidu.com.\t118\tCNAME\twww.a.shifen.com.\r\nwww.a.shifen.com.\t118\tA\t14.215.177.38\r\nwww.a.shifen.com.\t118\tA\t14.215.177.39\r\n\r\n;; MSG SIZE rcvd: 90\r\n;; Query time: 72 ms\r\n;; SERVER: 223.5.5.5\r\n- - - - - - - - - - - - - - - - - - - - - - -"
}
],
"message": "",
"error_code": 0,
"request": "",
"time": "2022-02-22 03:34:33"
}