--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filename: eve.json
+ types:
+ - alert:
+ tagged-packets: yes
+ - smtp:
+ custom: [date] # for 'date' logging information
+ - drop:
+ alerts: yes # log alerts that caused drops
+ flows: all # start or all: 'start' logs only a single drop
+ - stats
+ - flow
+ - stats:
+ enabled: yes
+ filename: stats.log
+ append: yes
+
+action-order:
+ - pass
+ - drop
+ - reject
+ - alert
+
+exception-policy: ignore
count: 1
match:
event_type: alert
- email.date: Fri, 21 Apr 2023 05:10:36 +0000
pcap_cnt: 13
alert.signature_id: 1
+- filter:
+ count: 1
+ match:
+ event_type: smtp
+ email.date: Fri, 21 Apr 2023 05:10:36 +0000
+ pcap_cnt: 13
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filename: eve.json
+ types:
+ - alert:
+ tagged-packets: yes
+ - smtp:
+ custom: [subject] # for 'subject' logging information
+ - drop:
+ alerts: yes # log alerts that caused drops
+ flows: all # start or all: 'start' logs only a single drop
+ - stats
+ - flow
+ - stats:
+ enabled: yes
+ filename: stats.log
+ append: yes
+
+action-order:
+ - pass
+ - drop
+ - reject
+ - alert
+
+exception-policy: ignore
event_type: alert
pcap_cnt: 13
alert.signature_id: 1
+- filter:
+ count: 1
+ match:
+ event_type: smtp
+ pcap_cnt: 13
+ email.subject: This is a test email