LogpushJobOutputOptions

data class LogpushJobOutputOptions(val batchPrefix: String? = null, val batchSuffix: String? = null, val cve202144228: 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, cve202144228: 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 cve202144228: Boolean? = null

If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{.

Link copied to clipboard
val fieldDelimiter: String? = null

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

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

List of field names to be included in the Logpush output. For the moment, there is no option to add all fields at once, so you must specify all the fields names you are interested in.

Link copied to clipboard
val outputType: String? = null

Specifies the output type, such as ndjson or csv. This sets default values for the rest of the settings, depending on the chosen output type. Some formatting rules, like string quoting, are different between output types. Available values: "ndjson", "csv".

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.

Link copied to clipboard
val recordSuffix: String? = null

String to be appended after each record.

Link copied to clipboard
val recordTemplate: String? = null

String to use as template for each record instead of the default comma-separated list. All fields used in the template must be present in field_names as well, otherwise they will end up as null. Format as a Go text/template without any standard functions, like conditionals, loops, sub-templates, etc.

Link copied to clipboard
val sampleRate: Double? = null

Floating number to specify sampling rate. Sampling is applied on top of filtering, and regardless of the current sample_interval of the data.

Link copied to clipboard
val timestampFormat: String? = null

String to specify the format for timestamps, such as unixnano, unix, or rfc3339. Available values: "unixnano", "unix", "rfc3339".