Skip to content

Collector 'Alibaba Cloud-DNSLogs' 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

This script does not require additional configuration.

2. Data Reporting Format

After data is successfully synchronized, you can view the data in the 'LOG-Explorer' of TrueWatch.

Example of parsed operation log data:

{
  "measurement": "aliyun_dns_record_logs",
  "tags": {
    "domain" : "cloudxxxxxx",
    "Action" : "DEL",
    "Message": "Delete resolution record.xxxxxx"
  },
  "fields": {
    "ActionTime": "2022-03-15T14:56Z",
    "message"   : "{Complete log JSON data}"
  }
}
Note

The fields in tags and fields may change with subsequent updates.

Note

When a scheduled task is enabled, considering that the interface can only return data by day, to ensure no duplicate log data is reported, the scheduled task synchronizes data with a time range of 1 day.

Tip

The value of tags.domain is the domain name, which serves as the source of the log data, and fields.message is the complete log JSON serialized string.

X. Appendix

Please refer to the official Alibaba Cloud documentation: