Measuring Privacy and Diagnostic Utility in Structured Application Log Redaction
Nguyen Quang Dat *
Hanoi University of Science, Vietnam National University, Hanoi, Vietnam.
Phu Nguyen
Faculty of Computer Science, University of New Brunswick, Fredericton, New Brunswick, Canada.
*Author to whom correspondence should be addressed.
Abstract
Application logs provide essential information for incident diagnosis but may also expose sensitive personal information and session identifiers. This pilot study evaluated the effects of three redaction policies on privacy protection and diagnostic utility under controlled changes in log schemas. The benchmark comprised 2,400 JavaScript Object Notation (JSON) records generated from 600 request traces across two schemas, each containing 240 incident traces, 60 successful controls and 900 annotated sensitive values. Regular-expression masking, field allowlisting and a hybrid redaction policy were evaluated against unredacted records using common privacy and diagnostic criteria. Diagnostic utility was assessed through trace linkage, service attribution and failure classification. In the configuration schema, all three redaction policies removed every annotated sensitive value, while complete incident diagnosis ranged from 66.7% to 100.0%. Following the schema change, regular-expression masking retained 47.2% of sensitive values and preserved complete diagnosis for 80.0% of incidents. The allowlist retained no annotated sensitive values but preserved only 33.3% of complete diagnoses. The hybrid policy retained 31.4% of sensitive values while preserving complete diagnosis for 90.0% of incidents. The observed reductions in diagnostic utility were associated with the loss of request identifiers and failure-related information. These findings demonstrate that changes in field names and value formats can influence the performance of fixed redaction policies. The proposed benchmark provides a structured basis for evaluating privacy exposure and diagnostic utility jointly under controlled schema changes.
Keywords: Application logs, sensitive data, log redaction, incident diagnosis, schema drift