Collector 'Alibaba Cloud-VPC' Configuration Manual¶
Before reading this document, please read:
Tip
Before using this collector, you must install the 'Integration Core Package' and its accompanying third-party dependencies.
1. Configuration Structure¶
The configuration structure of this collector is as follows:
Field | Type | Required | Description |
---|---|---|---|
regions |
list | Required | List of regions to collect data from |
regions[#] |
str | Required | Region ID. For example: 'cn-hangzhou' See appendix for complete list |
2. Configuration Example¶
Specifying Regions¶
Collect data from Hangzhou and Shanghai regions
3. Data Reporting Format¶
After successful data synchronization, you can view the data in the 'Infrastructure-Resource Catalog' of TrueWatch.
Example of reported data:
{
"measurement": "aliyun_vpc",
"tags": {
"name" : "vpc-bpxxxxxxxxxx",
"VpcId": "vpc-bpxxxxxxxxxx"
},
"fields": {
"VpcName" : "Operator",
"RegionId" : "cn-hangzhou",
"VRouterId": "vrt-bp13e10uxxxxxxxxxx",
"CidrBlock": "192.168.0.0/16",
"message" : "{Instance JSON Data}"
}
}
Note
Fields in tags and fields may change with subsequent updates
Tip
tags.VpcId value is used as the unique identifier
Tip
fields.message is a JSON serialized string
X. Appendix¶
Please refer to the official Alibaba Cloud documentation: