Skip to content
Start here

Edge

List Instant Logs jobs
client.Logpush.Edge.Get(ctx, query) (*SinglePage[InstantLogpushJob], error)
GET/zones/{zone_id}/logpush/edge/jobs
Create Instant Logs job
client.Logpush.Edge.New(ctx, params) (*InstantLogpushJob, error)
POST/zones/{zone_id}/logpush/edge/jobs
ModelsExpand Collapse
type InstantLogpushJob struct{…}
DestinationConf stringoptional

Unique WebSocket address that will receive messages from Cloudflare’s edge.

formaturi
maxLength4096
Fields stringoptional

Comma-separated list of fields.

Filter stringoptional

Filters to drill down into specific events.

Sample int64optional

The sample parameter is the sample rate of the records set by the client: "sample": 1 is 100% of records "sample": 10 is 10% and so on.

SessionID stringoptional

Unique session id of the job.