1. Packages
  2. Cloudflare
  3. API Docs
  4. LogpushJob
Cloudflare v5.24.0 published on Thursday, Mar 28, 2024 by Pulumi

cloudflare.LogpushJob

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.24.0 published on Thursday, Mar 28, 2024 by Pulumi

    Example Usage

    Create LogpushJob Resource

    new LogpushJob(name: string, args: LogpushJobArgs, opts?: CustomResourceOptions);
    @overload
    def LogpushJob(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_id: Optional[str] = None,
                   dataset: Optional[str] = None,
                   destination_conf: Optional[str] = None,
                   enabled: Optional[bool] = None,
                   filter: Optional[str] = None,
                   frequency: Optional[str] = None,
                   kind: Optional[str] = None,
                   logpull_options: Optional[str] = None,
                   max_upload_bytes: Optional[int] = None,
                   max_upload_interval_seconds: Optional[int] = None,
                   max_upload_records: Optional[int] = None,
                   name: Optional[str] = None,
                   output_options: Optional[LogpushJobOutputOptionsArgs] = None,
                   ownership_challenge: Optional[str] = None,
                   zone_id: Optional[str] = None)
    @overload
    def LogpushJob(resource_name: str,
                   args: LogpushJobArgs,
                   opts: Optional[ResourceOptions] = None)
    func NewLogpushJob(ctx *Context, name string, args LogpushJobArgs, opts ...ResourceOption) (*LogpushJob, error)
    public LogpushJob(string name, LogpushJobArgs args, CustomResourceOptions? opts = null)
    public LogpushJob(String name, LogpushJobArgs args)
    public LogpushJob(String name, LogpushJobArgs args, CustomResourceOptions options)
    
    type: cloudflare:LogpushJob
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args LogpushJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LogpushJobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LogpushJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogpushJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogpushJobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LogpushJob Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LogpushJob resource accepts the following input properties:

    Dataset string
    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.
    DestinationConf 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. See Logpush destination documentation.
    AccountId string
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    Enabled bool
    Whether to enable the job.
    Filter string
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    Frequency string
    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.
    Kind string
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    LogpullOptions string
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    MaxUploadBytes int
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    MaxUploadIntervalSeconds int
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    MaxUploadRecords int
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    Name string
    The name of the logpush job to create.
    OutputOptions LogpushJobOutputOptions
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    OwnershipChallenge string
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    Dataset string
    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.
    DestinationConf 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. See Logpush destination documentation.
    AccountId string
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    Enabled bool
    Whether to enable the job.
    Filter string
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    Frequency string
    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.
    Kind string
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    LogpullOptions string
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    MaxUploadBytes int
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    MaxUploadIntervalSeconds int
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    MaxUploadRecords int
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    Name string
    The name of the logpush job to create.
    OutputOptions LogpushJobOutputOptionsArgs
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    OwnershipChallenge string
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset String
    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.
    destinationConf 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. See Logpush destination documentation.
    accountId String
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    enabled Boolean
    Whether to enable the job.
    filter String
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency String
    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.
    kind String
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpullOptions String
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    maxUploadBytes Integer
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    maxUploadIntervalSeconds Integer
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    maxUploadRecords Integer
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name String
    The name of the logpush job to create.
    outputOptions LogpushJobOutputOptions
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownershipChallenge String
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset string
    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.
    destinationConf 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. See Logpush destination documentation.
    accountId string
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    enabled boolean
    Whether to enable the job.
    filter string
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency string
    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.
    kind string
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpullOptions string
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    maxUploadBytes number
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    maxUploadIntervalSeconds number
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    maxUploadRecords number
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name string
    The name of the logpush job to create.
    outputOptions LogpushJobOutputOptions
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownershipChallenge string
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zoneId string
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset str
    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.
    destination_conf str
    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.
    account_id str
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    enabled bool
    Whether to enable the job.
    filter str
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency str
    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.
    kind str
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpull_options str
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    max_upload_bytes int
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    max_upload_interval_seconds int
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    max_upload_records int
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name str
    The name of the logpush job to create.
    output_options LogpushJobOutputOptionsArgs
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownership_challenge str
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zone_id str
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset String
    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.
    destinationConf 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. See Logpush destination documentation.
    accountId String
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    enabled Boolean
    Whether to enable the job.
    filter String
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency String
    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.
    kind String
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpullOptions String
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    maxUploadBytes Number
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    maxUploadIntervalSeconds Number
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    maxUploadRecords Number
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name String
    The name of the logpush job to create.
    outputOptions Property Map
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownershipChallenge String
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LogpushJob resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LogpushJob Resource

    Get an existing LogpushJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LogpushJobState, opts?: CustomResourceOptions): LogpushJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            dataset: Optional[str] = None,
            destination_conf: Optional[str] = None,
            enabled: Optional[bool] = None,
            filter: Optional[str] = None,
            frequency: Optional[str] = None,
            kind: Optional[str] = None,
            logpull_options: Optional[str] = None,
            max_upload_bytes: Optional[int] = None,
            max_upload_interval_seconds: Optional[int] = None,
            max_upload_records: Optional[int] = None,
            name: Optional[str] = None,
            output_options: Optional[LogpushJobOutputOptionsArgs] = None,
            ownership_challenge: Optional[str] = None,
            zone_id: Optional[str] = None) -> LogpushJob
    func GetLogpushJob(ctx *Context, name string, id IDInput, state *LogpushJobState, opts ...ResourceOption) (*LogpushJob, error)
    public static LogpushJob Get(string name, Input<string> id, LogpushJobState? state, CustomResourceOptions? opts = null)
    public static LogpushJob get(String name, Output<String> id, LogpushJobState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    Dataset string
    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.
    DestinationConf 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. See Logpush destination documentation.
    Enabled bool
    Whether to enable the job.
    Filter string
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    Frequency string
    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.
    Kind string
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    LogpullOptions string
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    MaxUploadBytes int
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    MaxUploadIntervalSeconds int
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    MaxUploadRecords int
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    Name string
    The name of the logpush job to create.
    OutputOptions LogpushJobOutputOptions
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    OwnershipChallenge string
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    AccountId string
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    Dataset string
    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.
    DestinationConf 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. See Logpush destination documentation.
    Enabled bool
    Whether to enable the job.
    Filter string
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    Frequency string
    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.
    Kind string
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    LogpullOptions string
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    MaxUploadBytes int
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    MaxUploadIntervalSeconds int
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    MaxUploadRecords int
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    Name string
    The name of the logpush job to create.
    OutputOptions LogpushJobOutputOptionsArgs
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    OwnershipChallenge string
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    accountId String
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset String
    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.
    destinationConf 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. See Logpush destination documentation.
    enabled Boolean
    Whether to enable the job.
    filter String
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency String
    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.
    kind String
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpullOptions String
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    maxUploadBytes Integer
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    maxUploadIntervalSeconds Integer
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    maxUploadRecords Integer
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name String
    The name of the logpush job to create.
    outputOptions LogpushJobOutputOptions
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownershipChallenge String
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    accountId string
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset string
    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.
    destinationConf 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. See Logpush destination documentation.
    enabled boolean
    Whether to enable the job.
    filter string
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency string
    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.
    kind string
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpullOptions string
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    maxUploadBytes number
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    maxUploadIntervalSeconds number
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    maxUploadRecords number
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name string
    The name of the logpush job to create.
    outputOptions LogpushJobOutputOptions
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownershipChallenge string
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zoneId string
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    account_id str
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset str
    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.
    destination_conf str
    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.
    enabled bool
    Whether to enable the job.
    filter str
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency str
    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.
    kind str
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpull_options str
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    max_upload_bytes int
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    max_upload_interval_seconds int
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    max_upload_records int
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name str
    The name of the logpush job to create.
    output_options LogpushJobOutputOptionsArgs
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownership_challenge str
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zone_id str
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.
    accountId String
    The account identifier to target for the resource. Must provide only one of account_id, zone_id.
    dataset String
    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.
    destinationConf 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. See Logpush destination documentation.
    enabled Boolean
    Whether to enable the job.
    filter String
    Use filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
    frequency String
    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.
    kind String
    The kind of logpush job to create. Available values: edge, instant-logs, "".
    logpullOptions String
    Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See Logpush options documentation.
    maxUploadBytes Number
    The maximum uncompressed file size of a batch of logs. Value must be between 5MB and 1GB.
    maxUploadIntervalSeconds Number
    The maximum interval in seconds for log batches. Value must be between 30 and 300.
    maxUploadRecords Number
    The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
    name String
    The name of the logpush job to create.
    outputOptions Property Map
    Structured replacement for logpulloptions. When including this field, the logpulloption field will be ignored.
    ownershipChallenge String
    Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See Developer documentation.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of account_id, zone_id.

    Supporting Types

    LogpushJobOutputOptions, LogpushJobOutputOptionsArgs

    BatchPrefix string
    String to be prepended before each batch.
    BatchSuffix string
    String to be appended after each batch.
    Cve20214428 bool
    Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to false.
    FieldDelimiter string
    String to join fields. This field be ignored when record_template is set. Defaults to ,.
    FieldNames List<string>
    List of field names to be included in the Logpush output.
    OutputType string
    Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.
    RecordDelimiter string
    String to be inserted in-between the records as separator.
    RecordPrefix string
    String to be prepended before each record. Defaults to {.
    RecordSuffix string
    String to be appended after each record. Defaults to }.
    RecordTemplate string
    String to use as template for each record instead of the default comma-separated list.
    SampleRate double
    Specifies the sampling rate. Defaults to 1.
    TimestampFormat string
    Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.
    BatchPrefix string
    String to be prepended before each batch.
    BatchSuffix string
    String to be appended after each batch.
    Cve20214428 bool
    Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to false.
    FieldDelimiter string
    String to join fields. This field be ignored when record_template is set. Defaults to ,.
    FieldNames []string
    List of field names to be included in the Logpush output.
    OutputType string
    Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.
    RecordDelimiter string
    String to be inserted in-between the records as separator.
    RecordPrefix string
    String to be prepended before each record. Defaults to {.
    RecordSuffix string
    String to be appended after each record. Defaults to }.
    RecordTemplate string
    String to use as template for each record instead of the default comma-separated list.
    SampleRate float64
    Specifies the sampling rate. Defaults to 1.
    TimestampFormat string
    Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.
    batchPrefix String
    String to be prepended before each batch.
    batchSuffix String
    String to be appended after each batch.
    cve20214428 Boolean
    Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to false.
    fieldDelimiter String
    String to join fields. This field be ignored when record_template is set. Defaults to ,.
    fieldNames List<String>
    List of field names to be included in the Logpush output.
    outputType String
    Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.
    recordDelimiter String
    String to be inserted in-between the records as separator.
    recordPrefix String
    String to be prepended before each record. Defaults to {.
    recordSuffix String
    String to be appended after each record. Defaults to }.
    recordTemplate String
    String to use as template for each record instead of the default comma-separated list.
    sampleRate Double
    Specifies the sampling rate. Defaults to 1.
    timestampFormat String
    Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.
    batchPrefix string
    String to be prepended before each batch.
    batchSuffix string
    String to be appended after each batch.
    cve20214428 boolean
    Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to false.
    fieldDelimiter string
    String to join fields. This field be ignored when record_template is set. Defaults to ,.
    fieldNames string[]
    List of field names to be included in the Logpush output.
    outputType string
    Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.
    recordDelimiter string
    String to be inserted in-between the records as separator.
    recordPrefix string
    String to be prepended before each record. Defaults to {.
    recordSuffix string
    String to be appended after each record. Defaults to }.
    recordTemplate string
    String to use as template for each record instead of the default comma-separated list.
    sampleRate number
    Specifies the sampling rate. Defaults to 1.
    timestampFormat string
    Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.
    batch_prefix str
    String to be prepended before each batch.
    batch_suffix str
    String to be appended after each batch.
    cve20214428 bool
    Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to false.
    field_delimiter str
    String to join fields. This field be ignored when record_template is set. Defaults to ,.
    field_names Sequence[str]
    List of field names to be included in the Logpush output.
    output_type str
    Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.
    record_delimiter str
    String to be inserted in-between the records as separator.
    record_prefix str
    String to be prepended before each record. Defaults to {.
    record_suffix str
    String to be appended after each record. Defaults to }.
    record_template str
    String to use as template for each record instead of the default comma-separated list.
    sample_rate float
    Specifies the sampling rate. Defaults to 1.
    timestamp_format str
    Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.
    batchPrefix String
    String to be prepended before each batch.
    batchSuffix String
    String to be appended after each batch.
    cve20214428 Boolean
    Mitigation for CVE-2021-44228. If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. Defaults to false.
    fieldDelimiter String
    String to join fields. This field be ignored when record_template is set. Defaults to ,.
    fieldNames List<String>
    List of field names to be included in the Logpush output.
    outputType String
    Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.
    recordDelimiter String
    String to be inserted in-between the records as separator.
    recordPrefix String
    String to be prepended before each record. Defaults to {.
    recordSuffix String
    String to be appended after each record. Defaults to }.
    recordTemplate String
    String to use as template for each record instead of the default comma-separated list.
    sampleRate Number
    Specifies the sampling rate. Defaults to 1.
    timestampFormat String
    Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.

    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>
    

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v5.24.0 published on Thursday, Mar 28, 2024 by Pulumi