Structured Logging Migration for a Healthcare SaaS Monolith
Overview
What this challenge is about.
Receive the current Lograge-flavored Rails logger and 3 sample log files (anonymized PHI). Design: a structured-log JSON schema (request_id, user_id, route, status, duration_ms, error_class, custom_fields, redaction_applied), a redaction layer that strips PHI by field convention, Loki labels (avoid cardinality blow-up — see HHS-style breach lessons), and an ingest pipeline via Promtail or Vector. Migrate the top 8 log sites (authentication, patient-intake, scheduling, billing, audit, exception, background-job, integration) to the new format. Deliver: code patches (PR-ready), schema doc, Promtail config, Grafana log dashboards, and a 6-page operator runbook covering label hygiene and PHI-redaction verification.
The Brief
What you'll do, and what you'll demonstrate.
Migrate a Rails monolith to structured JSON logging with PHI redaction at source and a Loki ingest path that won't blow up label cardinality.
Earning criteria — what you'll demonstrate
- Design a structured-log schema that serves on-call and compliance
- Implement PHI redaction at source with verifiable coverage
- Choose Loki labels that don't blow up cardinality at scale
- Document operator practices that survive a SOC 2 audit
Program Fit
Where this fits in your program.
Sharpens the same skills your degree expects you to demonstrate.
Skills
Skills you'll demonstrate.
Each one shows up on your verified credential.
Careers
Roles this prepares you for.
Real titles. Real skill bridges. Pick the one closest to your trajectory.
Career mappings coming soon.