Resource: LogExclusion
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.
JSON representation | |
---|---|
{ "name": string, "description": string, "filter": string, "disabled": boolean, "createTime": string, "updateTime": string } |
Fields | |
---|---|
name |
Required. A client-assigned identifier, such as |
description |
Optional. A description of this exclusion. |
filter |
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:
|
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. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
updateTime |
Output only. The last update timestamp of the exclusion. This field may not be present for older exclusions. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
Methods |
|
---|---|
|
Creates a new exclusion in a specified parent resource. |
|
Deletes an exclusion. |
|
Gets the description of an exclusion. |
|
Lists all the exclusions in a parent resource. |
|
Changes one or more properties of an existing exclusion. |