REST Resource: billingAccounts.exclusions

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

string

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.

description

string

Optional. A description of this exclusion.

filter

string

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)"

disabled

boolean

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.

createTime

string (Timestamp format)

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: "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

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: "2014-10-02T15:01:23.045123456Z".

Methods

create

Creates a new exclusion in a specified parent resource.

delete

Deletes an exclusion.

get

Gets the description of an exclusion.

list

Lists all the exclusions in a parent resource.

patch

Changes one or more properties of an existing exclusion.
此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Stackdriver Logging
需要帮助?请访问我们的支持页面