# Unknown Users in Audit Logs

[Unity Catalog query audit](/2024.2/detect-your-activity/audit/reference-guides/databricks-uc.md) brings in audit information for all tables and data sources, so some audit logs are created from activity by users not registered in Immuta. These audit records will appear in Immuta, providing valuable information of activity, with the username Unknown. This can be seen on the audit page or in user and data activity dashboards.

## Identify users

While the Immuta user is unknown, the user's Databricks Unity Catalog username can be found within the audit log. To view the user's data platform username:

1. Navigate to the event page.
2. Select **View JSON**.
3. The username can be found in the `auditPayload.technologyContext.account.`**`username`** field.

## Register users

To improve your future audit records, ensure these users are properly registered and can be named in the logs:

1. If you have not registered any users, [pull in users from your IAM](/2024.2/people/section-contents/reference-guides/identity-managers.md).
2. If you have registered users but this user was missed, [manually create the Immuta user](/2024.2/people/immuta-users/how-to-guides/managing-personas-and-permissions.md).
3. If this user is in Immuta but not appearing in the audit record, [map the user's Databricks username into Immuta](/2024.2/people/immuta-users/how-to-guides/external-user-mapping.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.immuta.com/2024.2/detect-your-activity/detection/reference-guides/unknown-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
