Skip to content

Collector Configuration Manual for "Alibaba Cloud - Web Application Firewall 3.0"

Before reading this article, please first read:

Before using this collector, you must install the 'Integration Core Package' and its corresponding 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 to collect data from
regions[#] str Required Region ID. For example: 'cn-hangzhou'
Refer to the appendix for the full table

2. Data Reporting Format

After data synchronization is successful, you can view the data in the {{( brand_name )}} "Infrastructure - Resource Catalog".

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_waf",
  "tags": {
    "Edition": "Enterprise",
    "InstanceId": "waf_v3prepaid_public_cn-xxxxx",
    "PayType": "PREPAY",
    "ProductCategory": "wafv3",
    "RegionId": "cn-hangzhou",
    "Status": "1",
    "name": "waf_v3prepaid_public_cn-xxxxx"
  },
  "fields": {
    "Domains": "{CNAME access list}",
    "EndTime": 1669651200,
    "message": "{Instance JSON data}",
  }
}

Fields in tags and fields may change with subsequent updates

The value of tags.name is the instance ID, used as a unique identifier

Tip

  • fields.message, fields.Domains are strings serialized in JSON format.

  • tags.SubscriptionType indicates the billing method of the WAF instance; values: 1, Subscription means annual or monthly subscription; 2, PayAsYouGo means pay-as-you-go.

  • tags.Status indicates the business status of the WAF instance; values: 0, means expired; 1, means not expired.

  • tags.Version indicates the version of the WAF instance; refer to the appendix document for details.

X. Appendix

Please refer to the official Alibaba Cloud documentation: