Commit d11bed2f authored by 胡涛's avatar 胡涛

日志处理核对

parent 2edca267
...@@ -40,11 +40,6 @@ select ...@@ -40,11 +40,6 @@ select
,cast(sum(if(s1.status = '200' is not true,1,0)) as varchar) as `errortotal` ,cast(sum(if(s1.status = '200' is not true,1,0)) as varchar) as `errortotal`
,cast(DateTimeToLongUDF(LOCALTIMESTAMP ) as varchar) as `createtime` ,cast(DateTimeToLongUDF(LOCALTIMESTAMP ) as varchar) as `createtime`
from RZ_ODS.RZ_SOURCE_KAFKA_RZ.RZDATA s1 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 group by
s1.applicationName s1.applicationName
,s1.agentId ,s1.agentId
...@@ -63,11 +58,6 @@ select ...@@ -63,11 +58,6 @@ select
,cast(sum(if(s1.status = '200' is not true,1,0)) as varchar) as `errortotal` ,cast(sum(if(s1.status = '200' is not true,1,0)) as varchar) as `errortotal`
,cast(DateTimeToLongUDF(LOCALTIMESTAMP ) as varchar) as `createtime` ,cast(DateTimeToLongUDF(LOCALTIMESTAMP ) as varchar) as `createtime`
from RZ_ODS.RZ_SOURCE_KAFKA_RZ.RZDATA s1 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 group by
s1.applicationName s1.applicationName
,tumble(s1.row_time, interval '1' minute) ,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