Property definition
Data source type: loghub
Supported configuration mode (ConnectionPropertiesMode): Connection string mode (UrlMode)
Connection string mode
Parameter | Type | Example | Required | Description |
regionId | String | cn-sanghai | Yes | The ID of the region to which the LogHub project belongs. |
endpoint | String | http://cn-beijing.log.aliyuncs.com | Yes | The endpoint of LogHub. |
project | String | project-name | Yes | The name of the LogHub project. |
accessId | String | xxxxx | Yes | The AccessKey ID used to access a data source in AccessKey mode. This parameter is required in AccessKey mode. |
accessKey | String | xxxxx | Yes | The AccessKey secret used to access a data source in AccessKey mode. This parameter is required in AccessKey mode. |
envType | String | Dev | Yes | The information about the data source environment. Valid values:
|
Configuration examples
Connection string mode
{
"envType": "Prod",
"endpoint": "http://cn-beijing.log.aliyuncs.com",
"project": "jiangcheng-test1",
"accessId": "xxx",
"accessKey": "xxx"
}