Collector Configuration Manual for Alibaba Cloud - DDoS Protection (New BGP/International)¶
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 for DDoS protection data collection |
regions[#] |
str | Required | Region ID, options: Mainland China: "cn-hangzhou" International regions: "ap-southeast-1" |
2. Configuration Example¶
Specifying Regions¶
3. Data Reporting Format¶
After successful data synchronization, you can view the data in the "LOG" section of TrueWatch.
An example of the reported data is as follows:
{
"measurement": "aliyun_ddoscoo",
"tags": {
"name" : "rg-acfm2pz25js****",
"InstanceId": "rg-acfm2pz25js****",
"RegionId" : "cn-hangzhou",
"Status" : "1",
"Edition" : "9",
"IpVersion" : "Ipv4",
"Enabled" : "1"
},
"fields": {
"ExpireTime": "1637812279000",
"CreateTime": "1637812279000",
"message" : "{Instance JSON Data}"
}
}
Some parameter explanations are as follows:
Edition (Instance Protection Plan Version) meanings:
Value | Description |
---|---|
0 |
DDoS Protection (International) Insurance Plan |
1 |
DDoS Protection (International) Carefree Plan |
2 |
DDoS Protection (International) Accelerated Line |
3 |
DDoS Protection (New BGP) Professional Plan |
Status (Instance Status) meanings:
Value | Description |
---|---|
1 |
Normal |
2 |
Expired |
Enabled (Instance Business Traffic Forwarding Status) meanings:
Value | Description |
---|---|
0 |
Business traffic forwarding stopped |
1 |
Business traffic forwarding normally |
Note
Fields in tags and fields may change with subsequent updates.
Tip
fields.message is a JSON serialized string, and times are represented in timestamps (unit: milliseconds).
X. Appendix¶
Please refer to the official Alibaba Cloud documentation: