All Products
Search
Document Center

HTTPDNS:Event logs in ActionTrail

Last Updated:Feb 18, 2025

HTTPDNS is integrated with ActionTrail. You can view and retrieve user behavior logs in ActionTrail. You can also use ActionTrail to deliver the logs to a Log Service Logstore or a specified OSS bucket to meet requirements such as real-time auditing and problem backtracking.

HTTPDNS API operations for event logging

HTTPDNS event logs in ActionTrail mainly record API events. For valid values of the eventTypeApiCall field in API event logs recorded in ActionTrail, see API documentation.

Specific API operations are not covered in API documentation. For more information, see the following table.

Event logging API operation

Description

DescribeDomains

Queries the domain name list of a user.

GetResolveCountSummary

Queries the resolution and billing statistics.

SdnsDeleteDomain

Deletes the software-defined DNS (SDNS) configuration of a domain name.

SdnsDescribeDomain

Queries the SDNS configuration of a domain name.

SdnsListDomains

Queries the list of domain names for which SDNS is configured.

SdnsModifyDomain

Modifies the SDNS configuration of a domain name.

SdnsSwitchDomain

Enables or disables custom resolution.

SwitchUnsignedInterface

Enables or disables unauthenticated API access.

Sample HTTPDNS event logs in ActionTrail

{
"ApiVersion": "2016-02-01",
  "RequestId": "A37F2FBB-****-****-****-E4A10C7B1E08",
  "EventType": "ApiCall",
  "UserIdentity": {
    "accessKeyId": "LTAI4********CpT2q9JBnxY",
    "sessionContext": {
      "attributes": {
        "mfaAuthenticated": "false"
      }
    },
    "accountId": "1726********3846",
    "principalId": "247598********7055",
    "type": "ram-user",
    "userName": "ema**est"
  },
  "AcsRegion": "cn-hangzhou",
  "EventName": "SdnsDe****Domain",
  "requestParameters":{ // The request parameters of the API request.
    "AcsHost": "httpdns-api.aliyuncs.com",
    "AcsProduct": "Httpdns",
    "RequestId": "A37F2FBB-****-****-****-E4A10C7B1E08",
    "DomainName": "www.ten******.com",
    "RegionId": "cn-hangzhou",
    "HostId": "httpdns-api.aliyuncs.com"
  },
  "EventSource": "httpdns-api.aliyuncs.com",
  "ServiceName": "HTTPDNS",
  "EventTime": "2021-06-17T01:02:05Z",
  "referencedResources": { // The resources affected by the event.
    "ACS::HTTPDNS::Domain": [
      "www.ten******.com"
    ]
  },
  "UserAgent": "AlibabaCloud (Linux; amd64) Java/1.8.0_112-b6 aliyun-java-sdk-core/4.3.8 HTTPClient/ApacheHttpClient",
  "EventId": "A37F2FBB-****-****-****-E4A10C7B1E08",
  "AdditionalEventData": {
    "Scheme": "https"
  },
  "ErrorCode": "",
  "ErrorMessage": "",
  "EventVersion": "1",
  "SourceIpAddress": "**3.**9.**6.**5"
}