Method: organizations.exclusions.create

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The parent resource in which to create the exclusion:


For examples:

"projects/my-logging-project" "organizations/123456789"

Authorization requires the following IAM permission on the specified resource parent:

  • logging.exclusions.create

Request body

The request body contains an instance of LogExclusion.

Response body

If successful, the response body contains a newly created instance of LogExclusion.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.