--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ types:
+ - stats:
+ - pcap-log:
+ enabled: yes
+ filename: log.pcap.%n-%t-%i
+ compression: none
+ mode: multi
+ limit: 4mb
+ ts-format: usec
+ bpf-filter: tcp and not port 443
+
+# Enable enging logging to JSON so we can verify it.
+logging:
+ outputs:
+ - console:
+ enabled: yes
+ - file:
+ enabled: yes
+ level: perf
+ filename: eve.json
+ type: json
--- /dev/null
+requires:
+ min-version: 9
+
+pcap: ../bug-2482-01/proxyCONNECT_443.pcap
+
+args:
+ - --runmode=single
+
+checks:
+ - filter:
+ count: 1
+ match:
+ event_type: stats
+ stats.pcap_log.written: 38
+ stats.pcap_log.filtered_bpf: 14063
+ - shell:
+ args: find . -type f -name 'log.pcap.1-1523389*.*-*' | wc -l | xargs
+ expect: 1