OssExportSinkConfigurationSink

data class OssExportSinkConfigurationSink(val bucket: String, val bufferInterval: String, val bufferSize: String, val compressionType: String, val contentDetail: String, val contentType: String, val delaySeconds: Int? = null, val endpoint: String, val pathFormat: String? = null, val pathFormatType: String? = null, val prefix: String? = null, val roleArn: String, val suffix: String? = null, val timeZone: String)

Constructors

Link copied to clipboard
constructor(bucket: String, bufferInterval: String, bufferSize: String, compressionType: String, contentDetail: String, contentType: String, delaySeconds: Int? = null, endpoint: String, pathFormat: String? = null, pathFormatType: String? = null, prefix: String? = null, roleArn: String, suffix: String? = null, timeZone: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The OSS bucket.

Link copied to clipboard

The interval between two data shipping operations. Valid values: 300 to 900. Unit: seconds.

Link copied to clipboard

The size of the OSS object to which data is shipped. Valid values: 5 to 256. Unit: MB.

Link copied to clipboard

Supports four compression types, such as snappy, gzip, zstd, and none.

Link copied to clipboard

The OSS file content details. Note: the value of this parameter should be updated based on the value of the contentType parameter. If the contentType value is JSON, the parameters of the contentDetail value are as follows: If the tag is allowed to be posted, the value of the parameter enableTag is true. Example:{"enableTag": true} You are not allowed to post tags. The value of the parameter enableTag is false. Example:{"enableTag": false} If the contentType value is csv, the parameters of the contentDetail value are as follows: The parameter columns is the key of the log in the source logstore. The delimiter parameter, which can be ",","|","", or "\t". The header parameter determines whether the OSS file retains the header. The optional value is true or false. The lineFeed parameter. Optional values are "\t", "\n", or "". The invalid field content parameter is null to specify the delivery content when the field name does not exist. The escape character parameter "quote". Optional values are "" "," '", or" ". Example:{"null": "-", "header": false, "lineFeed": "\n", "quote": "", "delimiter": ",", "columns": "a", "B", "c", "d"} When the contentType value is parquet, the parameters of the contentDetail value are as follows: The columns parameter is the key of the log in the source Logstore and must carry the data type of the key, for example:{"columns": {"name": "a", "type": "string"}, {"name": "B", "type": "string"}, {"name": "c", "type": "string": "string"}} When the contentType value is set to orc, the parameters of the contentDetail value are as follows: The columns parameter is the key of the log in the source Logstore and must carry the data type of the key, for example:{"columns": {"name": "a", "type": "string"}, {"name": "B", "type": "string"}, {"name": "c", "type": "string": "string"}}

Link copied to clipboard

The storage format of the OSS object. Valid values: json, parquet, csv, and orc.

Link copied to clipboard
val delaySeconds: Int? = null

The latency of data shipping. The value of this parameter cannot exceed the data retention period of the source Logstore.

Link copied to clipboard

The OSS Endpoint can only be an OSS intranet Endpoint and only supports the same region. Example value: https://oss-cn-hangzhou-internal.aliyuncs.com

Link copied to clipboard
val pathFormat: String? = null

The directory is dynamically generated according to the time. The default value is% Y/%m/%d/%H/%M. The corresponding generated directory is, for example, 2017/01/23/12/00. Note that the partition format cannot start and end. Example values:%Y/%m/%d

Link copied to clipboard
val pathFormatType: String? = null

The partition format type. only support time

Link copied to clipboard
val prefix: String? = null

The prefix of the OSS object.

Link copied to clipboard

The ARN of the RAM role that is used to write data to OSS. Example value: acs:ram::xxxxxxx

Link copied to clipboard
val suffix: String? = null

The suffix of the OSS object.

Link copied to clipboard

The time zone. Example value: +0800