New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
Every request log is a plaintext copy of whatever the customer just told the bot.
What you'll have at the end
A log entry with the message body hashed or masked, checked by grepping the file for a secret you sent through.
You need
You have a chatbot, or something like it, that already writes one log entry per request, and you can point to the specific fields your own request handler already names, such as an account number or a one-time code, even though nothing filters them yet.
Not covered
Finding unpredictable PII hidden in free text is a separate detection problem; this treats fields your own code already names. Cleaning up years of old log files already sitting on disk is a separate one-time job, not this recipe's ongoing write path.
Checked 15 Aug 2026
Part of the LLM Security & Safety cookbook