Skip to content

How to control what gets published and how to avoid Personal Identifiable Info (PII) is logged #83

Answered by BrunoBonacci
rthadanicuda asked this question in Help
Discussion options

You must be logged in to vote

Hi,

If at some you record in mulog some Personal Identifiable Information and you want to anonymise it (or delete it) before it gets published to an external system you can add a Custom transformations on the publisher.

All the build-in publishers support custom transformation functions which can be specified in the publisher configuration with the :transform key.
The transformation function is a function that takes a sequence of events and returns a potentially modified sequence of events.

transform -> event-seq -> event-seq

So, for example if somewhere in your code you logging the :email of a user and you want to remove it (or anonymise it) before it gets published, then you can procee…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rthadanicuda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants