Mask, redact and hash personal data in the collector (6)
Personal data in telemetry is easiest to deal with before it leaves your network: once an email address or a user id sits in a backend index, removing it is a deletion project.
Each config below handles one part of that in the collector: masking patterns in log bodies, redacting attributes against an allowlist, hashing user ids so they stay joinable, dropping attributes you never need, and keeping audit and firewall logs in a consistent shape for a SIEM. Where a pattern can miss data, the snippet says so, because no pattern list finds everything.
For how LinkMesh applies PII filtering across a whole fleet of collectors, see our PII filtering page.
Mask PII in logs (e-mail, card numbers, IBAN, tokens, IPs)
Rewrite e-mail addresses, card numbers, IBANs, bearer tokens and IPs to placeholders on the collector, before the data leaves your network.
Logs
Get the config →Redact everything except an attribute allowlist
Turn masking around - name the attributes you keep, and the redaction processor removes everything else.
Logs
Get the config →Pseudonymise user IDs with a salted hash
Replace user.id with a salted SHA-256 on logs and spans - same user, same value, so per-user queries still join.
Logs · Traces
Get the config →Drop sensitive attributes before export
Delete named attributes, and every captured HTTP request header, from logs, spans and metrics before they are exported.
Logs · Metrics · Traces
Get the config →Enforce required resource attributes (semantic conventions)
Refuse telemetry that cannot be attributed - drop anything without service.name, service.namespace and deployment.environment.name.
Logs · Metrics · Traces
Get the config →Firewall syslog to a SIEM, with PII masked
Firewall and VPN syslog into the SIEM with user names pseudonymised and e-mail addresses masked - IPs kept for correlation.
Logs
Get the config →