Cloudflare/logpush
@swamp/cloudflare/logpushv2026.09.09.1
01README
Cloudflare logpush infrastructure models
02Release Notes
- Updated: jobs
03Models
@swamp/cloudflare/logpush/jobsv2026.09.09.1jobs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_id? | string | Cloudflare account ID (provide account_id or zone_id) |
| zone_id? | string | Cloudflare zone ID (provide account_id or zone_id) |
| destination_conf | string | Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included. |
| enabled? | boolean | Flag that indicates if the job is enabled. |
| filter? | string | The 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/). |
| filter_attack_traffic? | boolean | When true, excludes DDoS attack traffic from logs. This option is supported for the `http_requests`, `firewall_events`, and `network_analytics_logs` datasets. |
| frequency? | enum | This 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? | enum | The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset). |
| logpull_options? | string | This 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? | string | Optional 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? | object | The structured replacement for `logpull_options`. When including this field, the `logpull_option` field will be ignored. |
| ownership_challenge? | string | Ownership challenge token to prove destination ownership. |
| dataset? | enum | Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/). |
| apiToken? | string | Cloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| apiKey? | string | Cloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email. |
| email? | string | Cloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey. |
fn create()
Create a Jobs
fn get(id: string)
Get a Jobs
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Jobs |
fn lookup()
Look up an existing Jobs by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Jobs by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Jobs to import |
fn update(identifier?: string)
Update Jobs attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Jobs by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Jobs
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Jobs |
fn sync(identifier?: string)
Sync Jobs state from Cloudflare
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Jobs by id (e.g. one discovered by list) |
Resources
state(infinite)— Jobs resource state
@swamp/cloudflare/logpush/transformersv2026.08.25.1transformers.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| account_id | string | Cloudflare account ID |
| code | string | The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset. |
| description? | string | Optional customer-provided description. |
| name | string | Customer-provided name for identification. |
| apiToken? | string | Cloudflare API token; overrides the CLOUDFLARE_API_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| apiKey? | string | Cloudflare API key for the legacy key+email auth path; overrides the CLOUDFLARE_API_KEY environment variable. Wire with a vault.get(...) expression. Requires email. |
| email? | string | Cloudflare account email for the legacy key+email auth path; overrides the CLOUDFLARE_EMAIL environment variable. Requires apiKey. |
fn create()
Create a Transformers
fn get(id: string)
Get a Transformers
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Transformers |
fn lookup()
Look up an existing Transformers by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Transformers by ID into state for management
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Transformers to import |
fn update(identifier?: string)
Update Transformers attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Transformers by id (e.g. one discovered by list) |
fn delete(id: string)
Delete the Transformers
| Argument | Type | Description |
|---|---|---|
| id | string | The ID of the Transformers |
fn sync(identifier?: string)
Sync Transformers state from Cloudflare
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific Transformers by id (e.g. one discovered by list) |
Resources
state(infinite)— Transformers resource state
04Previous Versions
2026.08.26.1
- Updated: jobs
2026.08.25.2
- Updated: jobs
- Added: transformers
Added 1 models
2026.08.25.1
- Updated: jobs
Removed 1 models
2026.08.15.1
- Added: transformers
Added 1 models
2026.07.24.1
- Updated: jobs
2026.07.21.1
- Updated: jobs
2026.07.18.2
Modified 1 models
2026.06.24.1
- Updated: jobs
2026.06.08.2
- Updated: jobs
2026.05.29.1
- Updated: jobs
2026.05.22.1
- Added: jobs
05Stats
A
100 / 100
Downloads
0
Archive size
19.1 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 types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels