LogpushJobArgs

data class LogpushJobArgs(val accountId: Output<String>? = null, val dataset: Output<String>? = null, val destinationConf: Output<String>? = null, val enabled: Output<Boolean>? = null, val filter: Output<String>? = null, val frequency: Output<String>? = null, val kind: Output<String>? = null, val logpullOptions: Output<String>? = null, val maxUploadBytes: Output<Int>? = null, val maxUploadIntervalSeconds: Output<Int>? = null, val maxUploadRecords: Output<Int>? = null, val name: Output<String>? = null, val outputOptions: Output<LogpushJobOutputOptionsArgs>? = null, val ownershipChallenge: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<LogpushJobArgs>

Example Usage

Import

Import an account-scoped job.

$ pulumi import cloudflare:index/logpushJob:LogpushJob example account/<account_id>/<job_id>

Import a zone-scoped job.

$ pulumi import cloudflare:index/logpushJob:LogpushJob example zone/<zone_id>/<job_id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, dataset: Output<String>? = null, destinationConf: Output<String>? = null, enabled: Output<Boolean>? = null, filter: Output<String>? = null, frequency: Output<String>? = null, kind: Output<String>? = null, logpullOptions: Output<String>? = null, maxUploadBytes: Output<Int>? = null, maxUploadIntervalSeconds: Output<Int>? = null, maxUploadRecords: Output<Int>? = null, name: Output<String>? = null, outputOptions: Output<LogpushJobOutputOptionsArgs>? = null, ownershipChallenge: Output<String>? = null, zoneId: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The account identifier to target for the resource. Must provide only one of account_id, zone_id.

Link copied to clipboard
val dataset: Output<String>? = null

The kind of the dataset to use with the logpush job. Available values: access_requests, casb_findings, firewall_events, http_requests, spectrum_events, nel_reports, audit_logs, gateway_dns, gateway_http, gateway_network, dns_logs, network_analytics_logs, workers_trace_events, device_posture_results, zero_trust_network_sessions, magic_ids_detections, page_shield_events, dlp_forensic_copies.

Link copied to clipboard
val destinationConf: Output<String>? = null

Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See Logpush destination documentation.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether to enable the job.

Link copied to clipboard
val filter: Output<String>? = null

Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.

Link copied to clipboard
val frequency: Output<String>? = null

A higher frequency will result in logs being pushed on faster with smaller files. low frequency will push logs less often with larger files. Available values: high, low. Defaults to high.

Link copied to clipboard
val kind: Output<String>? = null

The kind of logpush job to create. Available values: edge, instant-logs, "".

Link copied to clipboard
val logpullOptions: Output<String>? = null

Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.

Link copied to clipboard
val maxUploadBytes: Output<Int>? = null

The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.

Link copied to clipboard
val maxUploadIntervalSeconds: Output<Int>? = null

The maximum interval in seconds for log batches. Value must be between 30 and 300.

Link copied to clipboard
val maxUploadRecords: Output<Int>? = null

The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.

Link copied to clipboard
val name: Output<String>? = null

The name of the logpush job to create.

Link copied to clipboard

Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.

Link copied to clipboard
val ownershipChallenge: Output<String>? = null

Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.

Link copied to clipboard
val zoneId: Output<String>? = null

The zone identifier to target for the resource. Must provide only one of account_id, zone_id.

Functions

Link copied to clipboard
open override fun toJava(): LogpushJobArgs