Enable Data Access audit logs

To get audit logs about the usage of your model endpoints, you need to enable Data Access audit logs for Vertex AI. Data Access audit logs include "admin read" operations that read metadata or configuration information. They also include "data read" and "data write" operations that read or write user-provided data.

After you enable Data Access audit logs for Vertex AI, to view the data_access log stream in the Google Cloud console, you need to be granted the Private Logs Viewer role (roles/logging.privateLogViewer) .

To learn more about Data Access logs, including how to enable and view the logs, see Vertex AI audit logging information.

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月07日 UTC.