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 name: Output<String>? = null, val ownershipChallenge: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<LogpushJobArgs>

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, name: Output<String>? = 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

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. Available values: access_requests, firewall_events, http_requests, spectrum_events, nel_reports, audit_logs, gateway_dns, gateway_http, gateway_network, dns_logs, network_analytics_logs, workers_trace_events.

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 name: Output<String>? = null

The name of the logpush job to create.

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