Specifies a set of log entries that are not to be stored in
Logging. If your GCP resource receives a large volume of logs, you can
use exclusions to reduce your chargeable logs. Exclusions are
processed after log sinks, so you can export log entries before they are
excluded. Note that organization-level and folder-level exclusions don't
apply to child resources, and that you can't exclude audit log entries.
Optional. If set to True, then this exclusion is disabled and it does not
exclude any log entries. You can update an
exclusion to change the
value of this field.
Required. An advanced logs
filter that
matches the log entries to be excluded. By using the sample
function,
you can exclude less than 100% of the matching log entries.
For example, the following query matches 99% of low-severity log
entries from Google Cloud Storage buckets:
"resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)"
Required. An advanced logs
filter that
matches the log entries to be excluded. By using the sample
function,
you can exclude less than 100% of the matching log entries.
For example, the following query matches 99% of low-severity log
entries from Google Cloud Storage buckets:
"resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)"
Required. A client-assigned identifier, such as "load-balancer-exclusion".
Identifiers are limited to 100 characters and can include only letters,
digits, underscores, hyphens, and periods. First character has to be
alphanumeric.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Required. A client-assigned identifier, such as "load-balancer-exclusion".
Identifiers are limited to 100 characters and can include only letters,
digits, underscores, hyphens, and periods. First character has to be
alphanumeric.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]