

順序 | ログフィールド | 説明 |
1 | time | リクエスト時間 |
2 | client_ip | クライアントIP |
3 | host | アクセスされたドメイン |
4 | url | URL |
5 | size | 配信バイト数 |
6 | country_id | country_id |
7 | prov | 省 |
8 | isp | キャリア |
9 | streamname | ストリームID |
10 | node_ip | ノードIP |
11 | server_region | サーバーリージョン |
12 | server_country | サーバー国 |
順序 | ログフィールド | 説明 |
1 | type | 再生タイプ、lvbはLVBを表し、lebはLEBを表します。 |
2 | time | リクエスト時間 |
3 | client_ip | クライアントIP |
4 | host | アクセスされたドメイン |
5 | url | URL |
6 | size | 今回のアクセスバイト数 |
7 | country_id | country_id |
8 | prov | 省 |
9 | isp | キャリア |
10 | http_code | HTTPステータスコード |
11 | referer | Referer情報 |
12 | process_time | 処理時間(単位:ミリ秒) |
13 | ua | User-Agent情報 |
14 | range | Rangeパラメータ |
15 | method | HTTP Method |
16 | streamname | ストリームID |
17 | hit | キャッシュHIT / MISS |
18 | node_ip | ノードIP(一部のCDNクラスタノードIPを取得できないため、このフィールドは空になる場合があります) |
19 | server_region | サーバーリージョン |
20 | server_country | サーバー国 |
21 | connect_fd | connect_fd(接続ポート番号) |
22 | lost_rate | パケット損失率。type=lebの場合のみ値があります。 |
23 | rtt | rtt。type=lebの場合のみ値があります。 |
type:* | select approx_percentile(request_time, 0.99) as p99
$1.p99 > 100

type:* | select url_extract_path(url) as url_path , round(count_if(try_cast( "http_code" as bigint) >= 400)*100.0/count(*),2) as "Request Error Rate (%)" group by "url_path" order by "Request Error Rate (%)" desc limit 100
type:* | select url_extract_path(url) as url_path , round(avg( "process_time" ), 1) as "Avg. processing time (ms)" group by "url_path" order by "Avg. processing time (ms)" desc limit 100

type:* | select url_extract_path(url) as url_path , round(count_if(try_cast( "http_code" as bigint) >= 400)*100.0/count(*),2) as "Request Error Rate (%)" group by "url_path" having "Request Error Rate (%)" >=3 order by "Request Error Rate (%)" desc limit 100
type:* | select url_extract_path(url) as url_path , round(avg( "process_time" ), 1) as "Avg. processing time (ms)" group by "url_path" having "Avg. processing time (ms)" >=500 order by "Avg. processing time (ms)" desc limit 100

フィードバック