Skip to content

Configuration Manual for the "Alibaba Cloud - DDoS High Defense (New BGP/International)" Collector

Before reading this, please refer to:

Before using this collector, you must install the 'Integration Core Package' and its associated third-party dependency packages

1. Configuration Structure

The configuration structure of this collector is as follows:

Field Type Required Description
regions list Required List of regions for DDoS High Defense data collection
regions[#] str Required Region ID, possible values:
Mainland China: "cn-hangzhou"
International region: "ap-southeast-1"

2. Configuration Example

Specify Regions

Python
1
2
3
aliyun_configs = {
    'regions': [ 'cn-hangzhou' ],
}

3. Data Reporting Format

After data synchronization is successful, you can view the data in the 'LOGs' section of TrueWatch.

An example of the reported data is as follows:

JSON
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{
  "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}"
  }
}

Descriptions of some parameters are as follows:

Edition (Instance Protection Plan Version) value meanings:

Value Description
0 DDoS High Defense (International) Insurance Edition
1 DDoS High Defense (International) Worry-Free Edition
2 DDoS High Defense (International) Accelerated Line
3 DDoS High Defense (New BGP) Professional Edition

Status (Instance Status) value meanings:

Value Description
1 Normal
2 Expired

Enabled (Instance Business Traffic Forwarding Status) value meanings:

Value Description
0 Indicates business traffic forwarding has stopped
1 Indicates normal business traffic forwarding

Fields in tags and fields may change with subsequent updates

fields.message is a JSON serialized string; all times are represented as timestamps (unit: milliseconds)

X. Appendix

Please refer to the official Alibaba Cloud documentation: