| Parameter | Type | Description | Example |
|---|---|---|---|
| object | OSSExportConfiguration | ||
| logstore | string | The name of the Logstore. | logstore-demo |
| roleArn | string | The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role that is used to read data from Simple Log Service. | acs:ram::123456789:role/aliyunlogdefaultrole |
| sink | object | The configurations of the OSS data shipping job. | |
| endpoint | string |
| http://xxxxxxxx |
| bucket | string | The OSS bucket. | test-bucket |
| prefix | string | The prefix of the OSS object. | prefixxxx/ |
| suffix | string | The suffix of the OSS object. | .json |
| roleArn | string | The ARN of the RAM role that is used to write data to OSS. | acs:ram::xxxxxxx |
| pathFormat | string | The partition format. For more information, see Partition formats. | %Y_%m_%d/good/bad |
| pathFormatType | string | The partition format type. | only support time |
| timeZone | string | The time zone. For more information, see Time zones. | +0800 |
| contentType | string | The storage format of the OSS object. Valid values: json, parquet, csv, and orc. | json/parquet/csv/orc |
| contentDetail | object | The details of the OSS object. Note: The value of this parameter is in the JSON format and varies based on the value of contentType. | |
| any | If the value of contentType is json, specify contentDetail based on the following descriptions:
If the value of contentType is csv, specify contentDetail based on the following descriptions:
If the value of contentType is parquet, specify contentDetail based on the following description:
If the value of contentType is orc, specify contentDetail based on the following description:
| { "columns": [ "your log key1", "your log key2", "your log key3", ], "delimiter": " ", "header": True, "lineFeed": "\n", "null": "-", "quote": "\"" }, | |
| compressionType | string | The compression type. Valid values: snappy, gizp, zstd, and none. | snappy/gizp/zstd/none |
| bufferInterval | long | The interval between two data shipping operations. Valid values: 300 to 900. Unit: seconds. | 300 |
| bufferSize | long | The size of the OSS object to which data is shipped. Valid values: 5 to 256. Unit: MB. | 256 |
delaySecdeprecated | long | The latency of data shipping. Note
| 123 |
| delaySeconds | long | The latency of data shipping. The value of this parameter cannot exceed the data retention period of the source Logstore. | 900 |
| fromTime | long | The beginning of the time range to ship data. The value 1 specifies that the data shipping job ships data from the first log in the Logstore. | 123456789 |
| toTime | long | The end of the time range to ship data. The value 0 specifies that the data shipping job continuously ships data until the job is manually stopped. | 123456789 |