LogpushJobOutputOptions

data class LogpushJobOutputOptions(val batchPrefix: String? = null, val batchSuffix: String? = null, val cve20214428: Boolean? = null, val fieldDelimiter: String? = null, val fieldNames: List<String>? = null, val outputType: String? = null, val recordDelimiter: String? = null, val recordPrefix: String? = null, val recordSuffix: String? = null, val recordTemplate: String? = null, val sampleRate: Double? = null, val timestampFormat: String? = null)

Constructors

Link copied to clipboard
constructor(batchPrefix: String? = null, batchSuffix: String? = null, cve20214428: Boolean? = null, fieldDelimiter: String? = null, fieldNames: List<String>? = null, outputType: String? = null, recordDelimiter: String? = null, recordPrefix: String? = null, recordSuffix: String? = null, recordTemplate: String? = null, sampleRate: Double? = null, timestampFormat: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val batchPrefix: String? = null

String to be prepended before each batch.

Link copied to clipboard
val batchSuffix: String? = null

String to be appended after each batch.

Link copied to clipboard
val cve20214428: Boolean? = null

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.

Link copied to clipboard
val fieldDelimiter: String? = null

String to join fields. This field be ignored when record_template is set. Defaults to ,.

Link copied to clipboard
val fieldNames: List<String>? = null

List of field names to be included in the Logpush output.

Link copied to clipboard
val outputType: String? = null

Specifies the output type. Available values: ndjson, csv. Defaults to ndjson.

Link copied to clipboard
val recordDelimiter: String? = null

String to be inserted in-between the records as separator.

Link copied to clipboard
val recordPrefix: String? = null

String to be prepended before each record. Defaults to {.

Link copied to clipboard
val recordSuffix: String? = null

String to be appended after each record. Defaults to } .

Link copied to clipboard
val recordTemplate: String? = null

String to use as template for each record instead of the default comma-separated list.

Link copied to clipboard
val sampleRate: Double? = null

Specifies the sampling rate. Defaults to 1.

Link copied to clipboard
val timestampFormat: String? = null

Specifies the format for timestamps. Available values: unixnano, unix, rfc3339. Defaults to unixnano.