From 0904bad769ca4923a925ed612805c0d6a3ddcbe8 Mon Sep 17 00:00:00 2001 From: houjinchuan Date: Thu, 10 Nov 2022 15:54:17 +0800 Subject: [PATCH] =?UTF-8?q?tsg=20ck=2022.11=E7=89=88=E6=9C=AC=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0ssl=5Fja3s=5Ffingerprint=E3=80=81ssl=5Fja3s=5Fhash?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Clickhouse_TSG_建表语句.sql | 18 +++++++++++++ .../TSG-22.11/clickhouse/update-22.11-ck.sql | 26 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 TSG发布版本更新记录/TSG-22.11/clickhouse/update-22.11-ck.sql 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