Commit 46fb48b7 authored by 胡涛's avatar 胡涛

日志处理核对

parent 7267af05
......@@ -40,6 +40,11 @@ select
,cast(sum(if(s1.status = '200' is not true,1,0)) as varchar) as `errortotal`
,cast(DateTimeToLongUDF(tumble_start(s1.row_time, interval '1' minute) ) as varchar) as `createtime`
from RZ_ODS.RZ_SOURCE_KAFKA_RZ.RZDATA s1
where
UPPER(RIGHT(s1.`rpc`,3)) not in ('.JS')
and UPPER(RIGHT(s1.`rpc`,4)) not in ('.JPG','.ICO','.CSS','.TTF','.PNG','.PNG','.JPG','.TXT','.MP4','.MP3','.PDF','.DWR')
and UPPER(RIGHT(s1.`rpc`,5)) not in ('.JSON','.HTML','.LESS','.JPEG')
and UPPER(RIGHT(s1.`rpc`,6)) not in ('.WOFF2')
group by
s1.applicationName
,s1.agentId
......@@ -58,6 +63,11 @@ select
,cast(sum(if(s1.status = '200' is not true,1,0)) as varchar) as `errortotal`
,cast(DateTimeToLongUDF(tumble_start(s1.row_time, interval '1' minute) ) as varchar) as `createtime`
from RZ_ODS.RZ_SOURCE_KAFKA_RZ.RZDATA s1
where
UPPER(RIGHT(s1.`rpc`,3)) not in ('.JS')
and UPPER(RIGHT(s1.`rpc`,4)) not in ('.JPG','.ICO','.CSS','.TTF','.PNG','.PNG','.JPG','.TXT','.MP4','.MP3','.PDF','.DWR')
and UPPER(RIGHT(s1.`rpc`,5)) not in ('.JSON','.HTML','.LESS','.JPEG')
and UPPER(RIGHT(s1.`rpc`,6)) not in ('.WOFF2')
group by
s1.applicationName
,tumble(s1.row_time, interval '1' minute)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment