This document describes audit logging for Dataflow. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:
- Types of audit logs
- Audit log entry structure
- Storing and routing audit logs
- Cloud Logging pricing summary
- Enable Data Access audit logs
Service name
Dataflow audit logs use the service name dataflow.googleapis.com
.
Filter for this service:
protoPayload.serviceName="dataflow.googleapis.com"
Methods by permission type
Each IAM permission has a type
property, whose value is an enum
that can be one of four values: ADMIN_READ
, ADMIN_WRITE
,
DATA_READ
, or DATA_WRITE
. When you call a method,
Dataflow generates an audit log whose category is dependent on the
type
property of the permission required to perform the method.
Methods that require an IAM permission with the type
property value
of DATA_READ
, DATA_WRITE
, or ADMIN_READ
generate
Data Access audit logs.
Methods that require an IAM permission with the type
property value
of ADMIN_WRITE
generate
Admin Activity audit logs.
Permission type | Methods |
---|---|
ADMIN_WRITE |
dataflow.jobs.cancel dataflow.jobs.create dataflow.jobs.updateContents |
API interface audit logs
For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Dataflow.
dataflow.jobs
The following audit logs are associated with methods belonging to
dataflow.jobs
.
cancel
- Method:
dataflow.jobs.cancel
- Audit log type: Admin activity
- Permissions:
dataflow.jobs.cancel - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="dataflow.jobs.cancel"
create
- Method:
dataflow.jobs.create
- Audit log type: Admin activity
- Permissions:
dataflow.jobs.create - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="dataflow.jobs.create"
updateContents
- Method:
dataflow.jobs.updateContents
- Audit log type: Admin activity
- Permissions:
dataflow.jobs.updateContents - ADMIN_WRITE
- Method is a long-running or streaming operation:
No.
- Filter for this method:
protoPayload.methodName="dataflow.jobs.updateContents"