LogHub

Updated at:

Parameters

  • Data source type: loghub.

  • Supported configuration mode (ConnectionPropertiesMode): UrlMode (connection string mode).

Connection string mode

Parameter

Type

Example

Required

Description

regionId

String

cn-shanghai

Yes

The region of the LogHub project.

endpoint

String

http://cn-beijing.log.aliyuncs.com

Yes

The LogHub endpoint.

project

String

project-name

Yes

The LogHub project name.

accessId

String

xxxxx

Yes

The AccessKey ID for AccessKey-based authentication.

accessKey

String

xxxxx

Yes

envType

String

Dev

Yes

The data source environment. Valid values:

  • Dev: Development environment.

  • Prod: Production environment.

Configuration example

Connection string mode

{
    "envType": "Prod",
    "endpoint": "http://cn-beijing.log.aliyuncs.com",
    "project": "jiangcheng-test1",
    "accessId": "xxx",
    "accessKey": "xxx"
}