Detection and Redaction of Sensitive Data in Application Logs using LLMs

Any public organization that collects or processes client or user data is legally required to protect this information, ensuring that it is not retained, shared, or stored anywhere as plain text. Logs, which aggregate data from multiple systems and services that an organization uses, can unintentionally include sensitive information. Conventional rule-based approaches and regular expressions (regex) to extract Personally Identifiable Information from logs can sometimes be inefficient. They cannot be easily adapted to varying log formats and face high false positives. This work proposes a system using a Large Language Model fine tuned for Named Entity Recognition task to identify sensitive items in logs coupled with a redaction module that encrypts the identified entities to generate tokens that can be used to replace the sensitive data. This system can reduce false positives, be adapted to varying log formats and is more secure thus ensuring privacy without compromising practicality.

Authors

Institutions

Publication Details

Published
2025-05-14
DOI
https://doi.org/10.1109/icpcsn65854.2025.11034933
Citations
1
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection and Redaction of Sensitive Data in Application Logs using LLMs

Jinesh M. Kannimoola, M. Dinesh, A Aswin
1 citations
Software System Performance and Reliability
1.49
article

Detection and Redaction of Sensitive Data in Application Logs using LLMs

Jinesh M. Kannimoola, M. Dinesh, A Aswin
article en
1 citations

Abstract

Any public organization that collects or processes client or user data is legally required to protect this information, ensuring that it is not retained, shared, or stored anywhere as plain text. Logs, which aggregate data from multiple systems and services that an organization uses, can unintentionally include sensitive information. Conventional rule-based approaches and regular expressions (regex) to extract Personally Identifiable Information from logs can sometimes be inefficient. They cannot be easily adapted to varying log formats and face high false positives. This work proposes a system using a Large Language Model fine tuned for Named Entity Recognition task to identify sensitive items in logs coupled with a redaction module that encrypts the identified entities to generate tokens that can be used to replace the sensitive data. This system can reduce false positives, be adapted to varying log formats and is more secure thus ensuring privacy without compromising practicality.

Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 16%
Software System Performance and Reliability
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.