REST Resource: organizations.exclusions Stay organized with collections Save and categorize content based on your preferences.
Resource: LogExclusion
Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
| JSON representation |
|---|
{"name":string,"description":string,"filter":string,"disabled":boolean,"createTime":string,"updateTime":string} |
| Fields | |
|---|---|
name |
Optional. A client-assigned identifier, such as |
description |
Optional. A description of this exclusion. |
filter |
Required. Anadvanced logs filter that matches the log entries to be excluded. By using thesample 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:
|
disabled |
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can |
createTime |
Output only. The creation timestamp of the exclusion. This field may not be present for older exclusions. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The last update timestamp of the exclusion. This field may not be present for older exclusions. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Methods | |
|---|---|
| Creates a new exclusion in the _Default sink in a specified parent resource. |
| Deletes an exclusion in the _Default sink. |
| Gets the description of an exclusion in the _Default sink. |
| Lists all the exclusions on the _Default sink in a parent resource. |
| Changes one or more properties of an existing exclusion in the _Default sink. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-12 UTC.