Structured logs are only as useful as their fields. When an exporter forgets a field — no user, no status, no resource — every downstream dashboard, alert, and audit that depends on that field silently goes dark, with no error and no obvious symptom until someone asks a question the data can no longer answer. Missing Field Detector declares the fields a healthy record must contain and sweeps the log for every record that is missing any of them.
It reads records in either of two shapes. In key=value mode, each line is split into whitespace-, comma-, and semicolon-separated tokens, and a declared field is considered present if some token begins with fieldname= — so user=alice satisfies a required user field, while a token like username=alice does not, because the required key must match exactly up to the equals sign. In JSON mode, each line is parsed as a standalone JSON object and a field is present when that exact key exists on the object, regardless of its value — even an empty string or an explicit null counts as present, since the detector checks for the key’s existence, not its value.
The tool checks each declared field for presence on every line and produces two views: a per-field breakdown showing how many records are missing that field and which line numbers they are on, and a per-line list of the worst offenders — records missing the most fields at once. A completeness summary tallies how many records had every required field versus how many were missing at least one.