diff --git a/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql index b44a1dd..9e17e4a 100644 --- a/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql @@ -192,6 +192,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record_local ON CLUSTER ck_cluster common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, gtp_version String, gtp_apn String, gtp_imei String, @@ -293,6 +295,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_cluster( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, gtp_version String, gtp_apn String, gtp_imei String, @@ -390,6 +394,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_query( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, gtp_version String, gtp_apn String, gtp_imei String, @@ -488,6 +494,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -727,6 +735,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_ common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -883,6 +893,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -1119,6 +1131,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -1356,6 +1370,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -1507,6 +1523,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -1661,6 +1679,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record_local ON CLUSTER ck_cluster common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, sip_call_id String, sip_originator_description String, sip_responder_description String, @@ -1767,6 +1787,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_query( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, sip_call_id String, sip_originator_description String, sip_responder_description String, @@ -1873,6 +1895,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_cluster( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, sip_call_id String, sip_originator_description String, sip_responder_description String, @@ -1979,6 +2003,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event_local ON CLUST common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, nic_name String, origin_source_mac String, origin_dest_mac String, @@ -2074,6 +2100,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -2311,6 +2339,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -2474,6 +2504,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -2712,6 +2744,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_clust common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, radius_packet_type Int64, radius_nas_ip String, radius_framed_ip String, @@ -2910,6 +2944,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_query ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, radius_packet_type Int64, radius_nas_ip String, radius_framed_ip String, @@ -3025,6 +3061,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -3261,6 +3299,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -3422,6 +3462,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -3658,6 +3700,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, nic_name String, origin_source_mac String, origin_dest_mac String, @@ -3763,6 +3807,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_cluster ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, radius_packet_type Int64, radius_nas_ip String, radius_framed_ip String, @@ -3878,6 +3924,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -4114,6 +4162,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -4275,6 +4325,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster ( common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, http_url String, http_host String, http_domain String, @@ -4511,6 +4563,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_ common_link_info_c2s String, common_link_info_s2c String, common_packet_capture_file String, + common_tunnel_endpoint_a_desc String, + common_tunnel_endpoint_b_desc String, nic_name String, origin_source_mac String, origin_dest_mac String,