jfr-redact is an experimental Java tool for removing sensitive data from Java Flight Recorder (JFR) files and JVM crash logs (hserr files). It extends the built-in `jfr scrub` command with property-level redaction, two-pass discovery mode, pseudonymization, string pattern matching (emails, IPs, home folders), network redaction, and a manual 'words mode' for reviewing and redacting specific tokens. The tool can also concatenate multiple JFR files and is available as a Maven library. Built on top of the basic-jfr-processor library, it supports predefined and custom YAML configs for flexible redaction pipelines.

10m read timeFrom mostlynerdless.de
Post cover image
Table of contents
FoundationsUsing Basic-JFR-Processor to Build a Simple RedactorJFR-RedactText RedactionWords ModeConcat ModeUsage as a LibraryConclusionAuthorRelated Posts:

Sort: