> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Personally Identifiable Information in Tenant Logs

> Describes the potential personally identifiable information (PII) that Auth0 writes to tenant logs.

Many logs in Auth0 tenant logs can contain personally identifiable information (PII). Authentication events trigger log entries that can include users' PII. And if you use the Auth0 Management API (Management API: A product to allow customers to perform administrative tasks.) or the Dashboard to add users, Auth0 logs the user account details.

These fields in log entries can contain PII:

* Name
* Phone number (used for multi-factor authentication (Multi-factor authentication (MFA): User authentication process that uses a factor in addition to username and password such as a code via SMS.))
* Email address
* IP address (which can reveal location)
* Any custom user information you define

Tenant logs exclude core authentication secrets, like OTP codes, OTP seeds, biometric data, and private keys. At no point does Auth0 log access tokens (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.) from Auth0 or any identity provider (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.). When authorization code exchanges occur, the logs show only a partial code (for example: `code: 31XXXXX`).

## Filtering and PII obfuscation

Customers can choose which [filter categories](/docs/docs/deploy-monitor/logs/log-event-filters) of their logs to stream and which to exclude to ensure the external destination receives only the relevant data. Customers can also choose to mask or hash Personal Identifiable Information (PII) in the streamed logs.

Auth0 provides two ways to obfuscate PII tenant log fields when streaming to third-party destinations:

* **Masking:** the field values are replaced with asterisks
* **xxHash:** a fast, non-cryptographic hash algorithm

The customer can obfuscate the following log data and field names when streaming:

| Data | Field name |
| - | - |
| `first_name` | `first_name` `given_name` `name` |
| `last_name` | `last_name` `family_name` `name` |
| `email` | `email` |
| `phone` | `phone` `phone_number` `old_phone_number` `new_phone_number` |
| `address` | `address` |
| `username` | `username` `user_name` |


## Related topics

- [Prompt Details In Tenant Logs](/docs/docs/deploy-monitor/logs/prompt-details-in-tenant-logs.md)
- [Event Filters](/docs/docs/customize/log-streams/event-filters.md)
