|
| 1 | +{ |
| 2 | + "artifact": "loglens.parser_coverage_sample", |
| 3 | + "schema_version": 1, |
| 4 | + "fixture": "assets/mixed_auth_corpus.log", |
| 5 | + "input_mode": "syslog_legacy", |
| 6 | + "assume_year": 2026, |
| 7 | + "parser_quality": { |
| 8 | + "total_input_lines": 150, |
| 9 | + "total_lines": 140, |
| 10 | + "skipped_blank_lines": 10, |
| 11 | + "parsed_lines": 90, |
| 12 | + "unparsed_lines": 50, |
| 13 | + "parse_success_rate": 0.6428571429, |
| 14 | + "top_unknown_patterns": [ |
| 15 | + {"pattern": "invalid_month_token", "count": 10}, |
| 16 | + {"pattern": "malformed_source_ip", "count": 10}, |
| 17 | + {"pattern": "pam_unix_session_closed", "count": 10}, |
| 18 | + {"pattern": "program_cron", "count": 10}, |
| 19 | + {"pattern": "sshd_connection_closed_preauth", "count": 10} |
| 20 | + ], |
| 21 | + "failure_categories": [ |
| 22 | + {"category": "known_program_unknown_message", "count": 10}, |
| 23 | + {"category": "malformed_source_ip", "count": 10}, |
| 24 | + {"category": "unknown_program", "count": 10}, |
| 25 | + {"category": "unknown_timestamp", "count": 10}, |
| 26 | + {"category": "unsupported_pam_variant", "count": 10} |
| 27 | + ] |
| 28 | + }, |
| 29 | + "parsed_event_count": 90, |
| 30 | + "warning_count": 50, |
| 31 | + "event_type_counts": [ |
| 32 | + {"event_type": "ssh_accepted_publickey", "count": 10}, |
| 33 | + {"event_type": "ssh_invalid_user", "count": 10}, |
| 34 | + {"event_type": "ssh_failed_publickey", "count": 10}, |
| 35 | + {"event_type": "pam_auth_failure", "count": 30}, |
| 36 | + {"event_type": "sudo_command", "count": 10}, |
| 37 | + {"event_type": "sudo_auth_failure", "count": 10}, |
| 38 | + {"event_type": "su_auth_failure", "count": 10} |
| 39 | + ], |
| 40 | + "warnings": [ |
| 41 | + {"line_number": 10, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 42 | + {"line_number": 11, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 43 | + {"line_number": 12, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 44 | + {"line_number": 13, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 45 | + {"line_number": 14, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 46 | + {"line_number": 25, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 47 | + {"line_number": 26, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 48 | + {"line_number": 27, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 49 | + {"line_number": 28, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 50 | + {"line_number": 29, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 51 | + {"line_number": 40, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 52 | + {"line_number": 41, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 53 | + {"line_number": 42, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 54 | + {"line_number": 43, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 55 | + {"line_number": 44, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 56 | + {"line_number": 55, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 57 | + {"line_number": 56, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 58 | + {"line_number": 57, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 59 | + {"line_number": 58, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 60 | + {"line_number": 59, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 61 | + {"line_number": 70, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 62 | + {"line_number": 71, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 63 | + {"line_number": 72, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 64 | + {"line_number": 73, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 65 | + {"line_number": 74, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 66 | + {"line_number": 85, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 67 | + {"line_number": 86, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 68 | + {"line_number": 87, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 69 | + {"line_number": 88, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 70 | + {"line_number": 89, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 71 | + {"line_number": 100, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 72 | + {"line_number": 101, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 73 | + {"line_number": 102, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 74 | + {"line_number": 103, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 75 | + {"line_number": 104, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 76 | + {"line_number": 115, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 77 | + {"line_number": 116, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 78 | + {"line_number": 117, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 79 | + {"line_number": 118, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 80 | + {"line_number": 119, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 81 | + {"line_number": 130, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 82 | + {"line_number": 131, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 83 | + {"line_number": 132, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 84 | + {"line_number": 133, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 85 | + {"line_number": 134, "category": "unknown_timestamp", "reason": "invalid month token"}, |
| 86 | + {"line_number": 145, "category": "known_program_unknown_message", "reason": "unrecognized auth pattern: sshd_connection_closed_preauth"}, |
| 87 | + {"line_number": 146, "category": "unsupported_pam_variant", "reason": "unrecognized auth pattern: pam_unix_session_closed"}, |
| 88 | + {"line_number": 147, "category": "unknown_program", "reason": "unrecognized auth pattern: program_cron"}, |
| 89 | + {"line_number": 148, "category": "malformed_source_ip", "reason": "malformed source IP"}, |
| 90 | + {"line_number": 150, "category": "unknown_timestamp", "reason": "invalid month token"} |
| 91 | + ] |
| 92 | +} |
0 commit comments