Parameter | Type | Description | Example |
---|---|---|---|
object | The configurations of the Object Storage Service (OSS) data import job. | ||
endpoint | string | The OSS endpoint. | oss-cn-hangzhou.aliyuncs.com |
bucket | string | The OSS bucket. | ossbucket |
compressionCodec | string | The compression type. | none,snappy,gzip |
encoding | string | The encoding type. | UTF-8 |
format | object | The format. | |
any | The data format of the OSS object. Valid values:
| {"type": "line"} | |
interval | string | The interval at which the system checks for new files. | never |
pattern | string | The regular expression that is used to filter OSS objects by directory. | .* |
prefix | string | The directory of the OSS objects. | prefix |
restoreObjectEnabled | boolean | Specifies whether to import OSS objects of the Archive class. | true |
startTime | long | The point in time after which modified OSS objects are imported. | 1714274081 |
endTime | long | The point in time before which modified OSS objects are imported. | 1714360481 |
timeField | string | The time field to extract. | __time__ |
timeFormat | string | The format of the time field. | yyyy-MM-dd HH:mm:ss |
timePattern | string | The regular expression that is used to extract time. | [0-9]{0,2}\/[0-9a-zA-Z]+\/[0-9:,]+ |
timeZone | string | The time zone of the time field. | GMT+08:00 |
useMetaIndex | boolean | Specifies whether to enable OSS metadata indexing. | false |
roleARN | string | The Alibaba Cloud Resource Name (ARN) of the role. | acs:ram::12345:role/aliyunlogdefaultrole |