summaryrefslogtreecommitdiff
path: root/TWA-PIC/packet-dump/rtp/config/packet_dump.yml
diff options
context:
space:
mode:
Diffstat (limited to 'TWA-PIC/packet-dump/rtp/config/packet_dump.yml')
-rw-r--r--TWA-PIC/packet-dump/rtp/config/packet_dump.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/TWA-PIC/packet-dump/rtp/config/packet_dump.yml b/TWA-PIC/packet-dump/rtp/config/packet_dump.yml
new file mode 100644
index 0000000..926d18b
--- /dev/null
+++ b/TWA-PIC/packet-dump/rtp/config/packet_dump.yml
@@ -0,0 +1,37 @@
+project:
+ - project_name: rtp
+ storage_file_type: pcap # [pcap, pcapng]
+ consumer_topic: INTERNAL-RTP-RECORD
+ producer_topic: VOIP-RECORD
+ cache_queue_size: 100000
+ storage_mode: remote #remote: aws or local
+ aws_bucket: rtp_hos_bucket
+ append_mode: append #append, appendV2
+ append_max_num: 100000
+ upload_goroutine_num: 15
+ check_file_string_key: [common_server_ip, common_client_ip]
+ check_file_intval_key: [common_server_port, common_client_port, common_start_time]
+ write_back_status_key: [raw_log_status]
+ delete_json_key: [raw_packet, raw_packet_len]
+ write_back_filepath_key: rtp_pcap_path
+ origin_packet_time_ms_key: raw_packet_time_ms
+ origin_packet_key: raw_packet
+ filename_prefix: rtp
+ storage_directory: /var/www/html/rtp/
+ file_timeout: 120
+kafka:
+ broker: [192.168.30.193:9094,192.168.30.194:9094,192.168.30.195:9094]
+ sasl_user: admin
+ sasl_password: galaxy2019
+ offset: -1 # Newest: -1 or Oldest: -2
+aws:
+ endpoint: http://192.168.30.251:9098/hos/
+ token: f5c5186ba4874182b33b9b2b2b6e3f77
+ access_key: default
+ access_key_id: default
+log:
+ path: /data/tsg/olap/galaxy/packet_dump/logs/log
+ level: info # painc, fatal, warnning, info, debug, trace
+ RotationSize: 1000000000
+ RotationCount: 14
+ RotationTime: 1