summaryrefslogtreecommitdiff
path: root/TWA-PIC/packet-dump/firewall/config
diff options
context:
space:
mode:
Diffstat (limited to 'TWA-PIC/packet-dump/firewall/config')
-rw-r--r--TWA-PIC/packet-dump/firewall/config/packet_dump.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/TWA-PIC/packet-dump/firewall/config/packet_dump.yml b/TWA-PIC/packet-dump/firewall/config/packet_dump.yml
new file mode 100644
index 0000000..e963dfc
--- /dev/null
+++ b/TWA-PIC/packet-dump/firewall/config/packet_dump.yml
@@ -0,0 +1,34 @@
+project:
+ - project_name: firewall
+ storage_file_type: specify # [pcap, pcapng, suffix]
+ consumer_topic: SECURITY-PACKET-CAPTURE-RECORD
+ cache_queue_size: 100000
+ storage_mode: remote #remote: aws or local
+ aws_bucket: firewall_hos_bucket
+ append_mode: append #append, appendV2
+ append_max_num: 100000
+ upload_goroutine_num: 15
+ specify_filepath_key: raw_packet_url
+ write_back_filepath: packet_url
+ origin_packet_time_ms_key: raw_packet_time_ms
+ origin_packet_key: raw_packet
+ filename_prefix: troubleshooting
+ storage_directory: /var/www/html/firewall/
+ file_timeout: 3600
+ specify_filepath_key: raw_packet_url
+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