diff --git a/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql b/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql index 2da1806..b8840d4 100644 --- a/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql +++ b/Clickhouse最新全量建表语句/Clickhouse_TSG_建表语句.sql @@ -596,6 +596,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record_local ON CLUSTER ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -1011,6 +1013,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_qu ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -1261,6 +1265,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.interim_session_record ON CLUSTER ck_cl ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -2258,6 +2264,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.security_event_local ON CLUSTER ck_clus ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -2680,6 +2688,8 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.session_record_local ON CLUSTER ck_clus ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -3258,6 +3268,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_query ( ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -3673,6 +3685,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_query ( ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -4152,6 +4166,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.session_record ON CLUSTER ck_cluster ( ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, @@ -4567,6 +4583,8 @@ create table IF NOT EXISTS tsg_galaxy_v3.security_event ON CLUSTER ck_cluster ( ssl_con_latency_ms Int64, ssl_ja3_fingerprint String, ssl_ja3_hash String, + ssl_ja3s_fingerprint String, + ssl_ja3s_hash String, ssl_cert_issuer String, ssl_cert_subject String, dtls_cookie String, diff --git a/TSG发布版本更新记录/TSG-22.11/clickhouse/update-22.11-ck.sql b/TSG发布版本更新记录/TSG-22.11/clickhouse/update-22.11-ck.sql new file mode 100644 index 0000000..76063cd --- /dev/null +++ b/TSG发布版本更新记录/TSG-22.11/clickhouse/update-22.11-ck.sql @@ -0,0 +1,26 @@ +set distributed_ddl_task_timeout = 180; + +ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.session_record on cluster ck_query add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; + +ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; + +ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.security_event on cluster ck_query add column IF NOT EXISTS ssl_ja3s_hash String after ssl_ja3_hash; + + +ALTER table tsg_galaxy_v3.session_record_local on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.session_record on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.session_record on cluster ck_query add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; + +ALTER table tsg_galaxy_v3.interim_session_record_local on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.interim_session_record on cluster ck_query add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; + +ALTER table tsg_galaxy_v3.security_event_local on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.security_event on cluster ck_cluster add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; +ALTER table tsg_galaxy_v3.security_event on cluster ck_query add column IF NOT EXISTS ssl_ja3s_fingerprint String after ssl_ja3_hash; \ No newline at end of file