10版本ck sql

This commit is contained in:
王宽
2021-10-11 08:45:12 +00:00
parent 3af6b4ef52
commit f8e17b08dc

View File

@@ -69,6 +69,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record_local ON CLUSTER ck_cluster
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -165,6 +166,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_cluster(
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -257,6 +259,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.gtpc_record ON CLUSTER ck_query(
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -350,6 +353,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -431,6 +435,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -549,6 +555,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -630,6 +637,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record_local ON CLUSTER ck_
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -695,6 +704,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -776,6 +786,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -891,6 +903,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -972,6 +985,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -1088,6 +1103,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1169,6 +1185,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_query(
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -1229,6 +1247,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1310,6 +1329,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.transaction_record ON CLUSTER ck_cluste
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -1373,6 +1394,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record_local ON CLUSTER ck_cluster
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1474,6 +1496,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_query(
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1575,6 +1598,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.voip_record ON CLUSTER ck_cluster(
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1676,6 +1700,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event_local ON CLUST
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1766,6 +1791,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -1847,6 +1873,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -1964,6 +1992,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -2045,6 +2074,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.proxy_event_local ON CLUSTER ck_cluster
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -2103,6 +2134,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -2184,6 +2216,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -2301,6 +2335,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.radius_record_local ON CLUSTER ck_clust
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -2400,6 +2435,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_common_client_ip_local O
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -2421,6 +2457,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_common_server_ip_local O
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -2442,6 +2479,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_http_domain_local ON CLU
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -2493,6 +2531,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_query (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -2602,6 +2641,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -2683,6 +2723,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query (
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -2798,6 +2840,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -2879,6 +2922,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_query (
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -2935,6 +2980,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3016,6 +3062,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query (
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -3131,6 +3179,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3231,6 +3280,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.radius_record ON CLUSTER ck_cluster (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3340,6 +3390,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3421,6 +3472,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster (
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -3536,6 +3589,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3617,6 +3671,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.proxy_event ON CLUSTER ck_cluster (
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -3673,6 +3729,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3754,6 +3811,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster (
http_cookie String, http_cookie String,
http_referer String, http_referer String,
http_user_agent String, http_user_agent String,
http_request_content_length String,
http_request_content_type String,
http_content_length String, http_content_length String,
http_content_type String, http_content_type String,
http_set_cookie String, http_set_cookie String,
@@ -3869,6 +3928,7 @@ create table IF NOT EXISTS tsg_galaxy_v3.sys_packet_capture_event ON CLUSTER ck_
common_isp String, common_isp String,
common_data_center String, common_data_center String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_action Int64, common_action Int64,
common_sub_action String, common_sub_action String,
common_policy_id Int64, common_policy_id Int64,
@@ -3965,6 +4025,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_common_client_ip ON CLUS
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -3983,6 +4044,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_common_server_ip ON CLUS
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -4002,6 +4064,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_http_domain ON CLUSTER c
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -4020,6 +4083,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_common_client_ip ON CLUS
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -4038,6 +4102,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_common_server_ip ON CLUS
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,
@@ -4057,6 +4122,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_http_domain ON CLUSTER c
common_server_ip String, common_server_ip String,
common_client_ip String, common_client_ip String,
common_sled_ip String, common_sled_ip String,
common_device_group String,
common_entrance_id Int64, common_entrance_id Int64,
common_subscriber_id String, common_subscriber_id String,
common_stream_trace_id UInt64, common_stream_trace_id UInt64,