Skip to content
Start here

Logs

LogsControl

LogsControlRetention

Get log retention flag
client.Logs.Control.Retention.Get(ctx, query) (*ControlRetentionGetResponse, error)
GET/zones/{zone_id}/logs/control/retention/flag
Update log retention flag
client.Logs.Control.Retention.New(ctx, params) (*ControlRetentionNewResponse, error)
POST/zones/{zone_id}/logs/control/retention/flag

LogsControlCmb

LogsControlCmbConfig

Get CMB config
client.Logs.Control.Cmb.Config.Get(ctx, query) (*CmbConfig, error)
GET/accounts/{account_id}/logs/control/cmb/config
Update CMB config
client.Logs.Control.Cmb.Config.New(ctx, params) (*CmbConfig, error)
POST/accounts/{account_id}/logs/control/cmb/config
Delete CMB config
client.Logs.Control.Cmb.Config.Delete(ctx, body) (*ControlCmbConfigDeleteResponse, error)
DELETE/accounts/{account_id}/logs/control/cmb/config
ModelsExpand Collapse
type CmbConfig struct{…}
AllowOutOfRegionAccess booloptional

Allow out of region access

Regions stringoptional

Name of the region.

maxLength256

LogsRayID

Get logs RayIDs
client.Logs.RayID.Get(ctx, RayID, params) (*unknown, error)
GET/zones/{zone_id}/logs/rayids/{ray_id}

LogsReceived

Get logs received
client.Logs.Received.Get(ctx, params) (*unknown, error)
GET/zones/{zone_id}/logs/received

LogsReceivedFields

List fields
client.Logs.Received.Fields.Get(ctx, query) (*ReceivedFieldGetResponse, error)
GET/zones/{zone_id}/logs/received/fields