← Back to changelog
October 25, 2024
Event input and output masking
Hassieb Pakzad
Configure SDK-side masking to redact sensitive information from inputs and outputs sent to the Langfuse server.
SDK-side masking enables you to:
- Redact sensitive information from trace or observation inputs and outputs.
- Customize the content of events before transmission.
- Implement fine-grained data filtering based on your specific requirements.
The process works as follows:
- You define a custom masking function and pass it to the Langfuse client constructor.
- All event inputs and outputs are processed through this function.
- The masked eventdata is then sent to the Langfuse server.
This approach ensures that you have complete control over the event input and output data traced by your application.
Learn more