22.02 update

This commit is contained in:
zhanghongqing
2022-02-23 13:51:17 +08:00
parent c4f28d3f56
commit cf38f74bde
4 changed files with 8 additions and 4 deletions

View File

@@ -18,7 +18,8 @@ http {
access_log off; # 关闭access日志
upstream hos {
server {{ machine_host }}:8186;
server {{ hos_ip1 }}:8186;
server {{ hos_ip2 }}:8186;
keepalive 1000;
keepalive_timeout 65;
keepalive_requests 100000;

View File

@@ -71,8 +71,7 @@ CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.assessment_event_local ON CLUSTER ck_c
)
ENGINE = MergeTree
PARTITION BY toYYYYMMDD(toDate(common_recv_time))
ORDER BY (common_log_id,
common_recv_time)
ORDER BY (common_log_id, common_recv_time);
CREATE TABLE IF NOT EXISTS tsg_galaxy_v3.assessment_event ON CLUSTER ck_cluster
(

View File

@@ -0,0 +1,2 @@
新增桶
assessment_hos_bucket

View File

@@ -0,0 +1,2 @@
INSERT INTO `xxl_job_info` VALUES ('101', '3', '0 0 0 1/7 * ?', 'Web-Sketch-Assessment-File', '2022-01-27 17:40:42', '2022-02-23 02:16:56', 'galaxy', '', 'FAILOVER', 'httpToStoreJobHandler', ' [{\r\n \"url\": \"http://192.168.44.12:9999/?option=long-term&resultId=1&query=SELECT http_domain AS name, arrayStringConcat(groupUniqArray(common_l7_protocol),\',\') AS protocol, count(*) AS sessions FROM tsg_galaxy_v3.session_record WHERE common_recv_time >= toStartOfDay(now()- INTERVAL 7 DAY) AND common_recv_time < toStartOfDay(now()) AND notEmpty(http_domain) GROUP BY name ORDER BY sessions DESC LIMIT 500000;\",\r\n \"method\": \"get\",\r\n \"requestBody\": {},\r\n \"resultKey\": \"data\",\r\n \"store\": \"all\"\r\n}, {\r\n \"url\": \"http://192.168.44.12:9999/?option=long-term&resultId=1&query=SELECT http_domain AS name, arrayStringConcat(groupUniqArray(common_l7_protocol),\',\') AS protocol, count(*) AS sessions FROM tsg_galaxy_v3.session_record WHERE common_recv_time >= toStartOfDay(now()- INTERVAL 7 DAY) AND common_recv_time < toStartOfDay(now()) AND notEmpty(http_domain) AND empty(common_service_category) AND http_domain NOT IN (select http_domain FROM tsg_galaxy_v3.session_record WHERE common_recv_time >= toStartOfDay(now()- INTERVAL 7 DAY) AND common_recv_time < toStartOfDay(now()) AND notEmpty(http_domain) AND notEmpty(common_service_category)) GROUP BY name ORDER BY sessions DESC LIMIT 500000;\",\r\n \"method\": \"get\",\r\n \"requestBody\": {},\r\n \"resultKey\": \"data\",\r\n \"store\": \"uncategorized\"\r\n}]', 'COVER_EARLY', '0', '0', 'BEAN', '', 'GLUE代码初始化', '2022-01-27 17:40:42', '', '1', '1645488000000', '1646092800000');
INSERT INTO `xxl_job_info` VALUES ('103', '3', '0 0 0/4 * * ?', 'IP-Locate-Library', '2022-02-08 15:14:04', '2022-02-10 15:26:28', 'tian', '', 'FIRST', 'IPLocateLibraryJobHandler', 'docker run -it -d --rm -v /home/galaxy/volumes/mmdb:/mmdb -v /home/galaxy/volumes/mmdb/mmdb-perl-user-defined.pl:/mmdb-perl-user-defined.pl -v /home/galaxy/volumes/mmdb/mmdb-perl-built-in.pl:/mmdb-perl-built-in.pl --name my-running-script 192.168.40.153:9080/tsg/perl:v3 sh -c \'cd /mmdb &&perl /mmdb-perl-user-defined.pl && perl /mmdb-perl-built-in.pl\'', 'SERIAL_EXECUTION', '200000', '0', 'BEAN', '', 'GLUE代码初始化', '2022-02-08 15:14:04', '', '1', '1644566511000', '1644566512000');