diff --git a/tsg_olap/upgrade/TSG-24.09/hos/hosutil/config.properties b/tsg_olap/upgrade/TSG-24.09/hos/hosutil/config.properties new file mode 100644 index 0000000..6963d6a --- /dev/null +++ b/tsg_olap/upgrade/TSG-24.09/hos/hosutil/config.properties @@ -0,0 +1,21 @@ +qgw.server.addr=http://192.168.44.67:9999 +hos.server.addr=http://192.168.44.67:9098 +hos.token=c21f969b5f03d33d43e04f8f136e7682 +kafka.server=192.168.44.11:9092 +#延迟时间,校验多少秒之前的文件,单位秒 +check.time.delay=180 +hos.traffic.buckets=traffic_file_bucket +kafka.traffic.topics=TRAFFIC-FILE-STREAM-RECORD +kafka.troubleshooting.topic=TROUBLESHOOTING-FILE-STREAM-RECORD +file.chunk.combiner.window.time=15000 +traffic.file.count=10 +threads=1 +max.threads=10 +print.out.interval=1000 +http.max.total=100 +http.default.max.per.route=100 +http.connect.timeout=5000 +http.connection.request.timeout=10000 +http.socket.timeout=-1 +hos.log.types=security_event,monitor_event,proxy_event,session_record,voip_record,assessment_event,transaction_record,troubleshooting +hos.log.types.file.types.url.fields=security_event:http-http_response_body&http_request_body,pcap-packet_capture_file,eml-mail_eml_file;proxy_event:http-http_response_body&http_request_body;session_record:http-http_response_body&http_request_body,pcap-packet_capture_file,eml-mail_eml_file;voip_record:pcap-rtp_pcap_path;assessment_event:other-assessment_file;transaction_record:http-http_response_body&http_request_body,eml-mail_eml_file;monitor_event:http-http_response_body&http_request_body,pcap-packet_capture_file,eml-mail_eml_file \ No newline at end of file diff --git a/tsg_olap/upgrade/TSG-24.09/hos/hosutil/galaxy-hos-util-1.4.jar b/tsg_olap/upgrade/TSG-24.09/hos/hosutil/galaxy-hos-util-1.4.jar new file mode 100644 index 0000000..9b05a71 Binary files /dev/null and b/tsg_olap/upgrade/TSG-24.09/hos/hosutil/galaxy-hos-util-1.4.jar differ diff --git a/tsg_olap/upgrade/TSG-24.09/hos/hosutil/hosutil.sh b/tsg_olap/upgrade/TSG-24.09/hos/hosutil/hosutil.sh new file mode 100644 index 0000000..e74c7ff --- /dev/null +++ b/tsg_olap/upgrade/TSG-24.09/hos/hosutil/hosutil.sh @@ -0,0 +1,138 @@ +#!/bin/bash + +version="1.4" +jar="galaxy-hos-util-$version.jar" + +usage() { + cat <&2; usage; exit 1 ;; + :) echo "Option -$OPTARG requires an argument" >&2; usage; exit 1 ;; + esac +done + +case "$operation" in + download) download ;; + upload) upload ;; + check) check ;; + combiner) combiner ;; + version) echo $version ;; + *) usage; exit 1 ;; +esac +