diff options
Diffstat (limited to 'TWA-PIC/packet-dump/troubleshooting')
| -rw-r--r-- | TWA-PIC/packet-dump/troubleshooting/config/packet_dump.yml | 35 | ||||
| -rw-r--r-- | TWA-PIC/packet-dump/troubleshooting/status | 0 |
2 files changed, 35 insertions, 0 deletions
diff --git a/TWA-PIC/packet-dump/troubleshooting/config/packet_dump.yml b/TWA-PIC/packet-dump/troubleshooting/config/packet_dump.yml new file mode 100644 index 0000000..8403c81 --- /dev/null +++ b/TWA-PIC/packet-dump/troubleshooting/config/packet_dump.yml @@ -0,0 +1,35 @@ +project: + - project_name: troubleshooting + storage_file_type: pcapng # [pcap, pcapng] + consumer_topic: INTERNAL-PACKET-CAPTURE-EVENT + producer_topic: SYS-PACKET-CAPTURE-EVENT + cache_queue_size: 100000 + storage_mode: remote #remote: aws or local + aws_bucket: troubleshooting_hos_bucket + append_mode: append #append, appendV2 + append_max_num: 100000 + upload_goroutine_num: 15 + check_file_intval_key: [common_policy_id, pcap_storage_task_id] + delete_json_key: [raw_packet, raw_packet_len] + write_back_filepath_key: packet_url + origin_packet_time_ms_key: raw_packet_time_ms + origin_packet_key: raw_packet + filename_prefix: troubleshooting + storage_directory: /var/www/html/troubleshooting/ + file_timeout: 3600 +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 diff --git a/TWA-PIC/packet-dump/troubleshooting/status b/TWA-PIC/packet-dump/troubleshooting/status new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/TWA-PIC/packet-dump/troubleshooting/status |
