Skip to main content

Cloudflare/logpush

@swamp/cloudflare/logpushv2026.05.22.1· 1d agoMODELS
01README

Cloudflare logpush infrastructure models

02Release Notes
  • Added: jobs
03Models1
@swamp/cloudflare/logpush/jobsv2026.05.22.1jobs.ts

Global Arguments

ArgumentTypeDescription
account_id?stringCloudflare account ID (provide account_id or zone_id)
zone_id?stringCloudflare zone ID (provide account_id or zone_id)
destination_confstringUniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.
enabled?booleanFlag that indicates if the job is enabled.
filter?stringThe filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/filters/).
frequency?enumThis field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.
kind?enumThe kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset).
logpull_options?stringThis field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.
max_upload_bytes?union
max_upload_interval_seconds?union
max_upload_records?union
name?stringOptional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.
output_options?objectThe structured replacement for `logpull_options`. When including this field, the `logpull_option` field will be ignored.
ownership_challenge?stringOwnership challenge token to prove destination ownership.
dataset?enumName of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
fn create()
Create a Jobs
fn get(id: string)
Get a Jobs
ArgumentTypeDescription
idstringThe ID of the Jobs
fn update()
Update Jobs attributes
fn delete(id: string)
Delete the Jobs
ArgumentTypeDescription
idstringThe ID of the Jobs
fn sync()
Sync Jobs state from Cloudflare

Resources

state(infinite)— Jobs resource state
04Stats
A
100 / 100
Downloads
0
Archive size
11.5 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels