| 1 |
len(results["s01-parse"]["crowdsecurity/postfix-logs"]) == 2 |
| 2 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Success == true |
| 3 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["remote_addr"] == "1.2.3.4" |
| 4 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["message"] == "warning: unknown[1.2.3.4]: SASL LOGIN authentication failed: authentication failure" |
| 5 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["message_failure"] == " authentication failure" |
| 6 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["program"] == "postfix/smtpd" |
| 7 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["remote_host"] == "unknown" |
| 8 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["timestamp"] == "May 11 04:02:36" |
| 9 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["logsource"] == "syslog" |
| 10 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Parsed["pid"] == "26897" |
| 11 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["service"] == "postfix" |
| 12 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["source_hostname"] == "unknown" |
| 13 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["source_ip"] == "1.2.3.4" |
| 14 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["datasource_path"] == "postfix-logs.log" |
| 15 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 16 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["log_type"] == "postfix" |
| 17 |
results["s01-parse"]["crowdsecurity/postfix-logs"][0].Evt.Meta["log_type_enh"] == "spam-attempt" |
| 18 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Success == true |
| 19 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["logsource"] == "syslog" |
| 20 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["pid"] == "26897" |
| 21 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["program"] == "postfix/smtpd" |
| 22 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["remote_addr"] == "1.2.3.4" |
| 23 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["remote_host"] == "unknown" |
| 24 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["timestamp"] == "May 11 04:02:37" |
| 25 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["action"] == "reject" |
| 26 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["command"] == "RCPT" |
| 27 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["message"] == "NOQUEUE: reject: RCPT from unknown[1.2.3.4]: 554 5.7.1 Service unavailable" |
| 28 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Parsed["reason"] == "554 5.7.1 Service unavailable" |
| 29 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["source_hostname"] == "unknown" |
| 30 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["source_ip"] == "1.2.3.4" |
| 31 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["action"] == "reject" |
| 32 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["datasource_path"] == "postfix-logs.log" |
| 33 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["datasource_type"] == "file" |
| 34 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["log_type"] == "postfix" |
| 35 |
results["s01-parse"]["crowdsecurity/postfix-logs"][1].Evt.Meta["service"] == "postfix" |
| 36 |
|