Developers log full request bodies and you find credit card numbers and emails in the log store. What do you do?

AdvancedScenarioLogging Pipelines
Answer

Situation read → This is a data-protection incident (PCI DSS / GDPR), not just a logging bug.

What I'd do →

  1. Raise it with security, scope which indices, buckets and backups contain the data, and restrict access immediately.
  2. Stop the source: remove body logging or add an allow-list of safe fields in the app.
  3. Add redaction in the pipeline as a safety net (Vector remap with redact(), Fluent Bit Lua filter, OTel Collector redaction or transform processor).
  4. Delete or reindex affected data, including archives and snapshots, per the retention and legal guidance.
  5. Add a CI check or log linter and periodic scanning for PAN/email patterns.

Why → Logs are often less protected than databases and copied into many places.

Interview tip → Lead with containment and notification, then the technical fix.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging Pipelines