From 287c09ada64250fa917e1d827a6a4d486ed09846 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Mon, 18 Jul 2022 17:47:24 +0800 Subject: [PATCH] =?UTF-8?q?cn=2009=E7=89=88=E6=9C=ACck=E5=BB=BA=E8=A1=A8?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Clickhouse_CN_建表语句.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql b/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql index e566827..f1f96c4 100644 --- a/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql +++ b/Clickhouse最新全量建表语句/Clickhouse_CN_建表语句.sql @@ -8,12 +8,14 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn_local ON CLUS common_stream_dir Int64, common_start_time Int64, common_end_time Int64, + common_con_duration_ms Int64, common_schema_type String, common_client_ip String, common_server_ip String, common_client_port Int64, common_server_port Int64, common_app_label String, + common_app_id String, common_l4_protocol String, common_l7_protocol String, common_isp String, @@ -68,6 +70,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn_local ON CLUS domain_reputation_level String, domain_icp_company_name String, domain_whois_org String, + client_is_internal Nullable(Int64), client_country String, client_province String, client_region String, @@ -77,6 +80,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn_local ON CLUS client_asn String, client_whois_owner String, client_idc_renter String, + server_is_internal Nullable(Int64), server_country String, server_province String, server_region String, @@ -122,12 +126,14 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck common_stream_dir Int64, common_start_time Int64, common_end_time Int64, + common_con_duration_ms Int64, common_schema_type String, common_client_ip String, common_server_ip String, common_client_port Int64, common_server_port Int64, common_app_label String, + common_app_id String, common_l4_protocol String, common_l7_protocol String, common_isp String, @@ -182,6 +188,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck domain_reputation_level String, domain_icp_company_name String, domain_whois_org String, + client_is_internal Nullable(Int64), client_country String, client_province String, client_region String, @@ -191,6 +198,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck client_asn String, client_whois_owner String, client_idc_renter String, + server_is_internal Nullable(Int64), server_country String, server_province String, server_region String, @@ -236,12 +244,14 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck common_stream_dir Int64, common_start_time Int64, common_end_time Int64, + common_con_duration_ms Int64, common_schema_type String, common_client_ip String, common_server_ip String, common_client_port Int64, common_server_port Int64, common_app_label String, + common_app_id String, common_l4_protocol String, common_l7_protocol String, common_isp String, @@ -296,6 +306,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck domain_reputation_level String, domain_icp_company_name String, domain_whois_org String, + client_is_internal Nullable(Int64), client_country String, client_province String, client_region String, @@ -305,6 +316,7 @@ CREATE TABLE IF NOT EXISTS cyber_narrator_galaxy.session_record_cn ON CLUSTER ck client_asn String, client_whois_owner String, client_idc_renter String, + server_is_internal Nullable(Int64), server_country String, server_province String, server_region String,