Policy: GCP > Network > Backend Service > Logging > Sample Rate
The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1 means all logged requests are reported and 0 means no logged requests are reported. The default value is 1.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Packs
This policy setting is used by the following policy packs:
Policy Specification
Schema Type |
|
---|---|
Default |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceLogging
- tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate
- turbot graphql policy-type --id "tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI