This topic provides several examples of event logs related to Alibaba Cloud CDN.
A RAM user uses the CDN service in the console
{
"apiVersion": "2014-11-11",
"eventId": "1f869a5d-7542-4f76-94e0-5c24b520****",
"eventName": "AddCdnDomain",
"eventSource": "cdn.aliyuncs.com",
"eventTime": "2016-01-05T03:30:58Z",
"eventType": "ApiCall",
"eventVersion": "1",
"recipientAccountId": "102440540619****",
"requestId": "AF2FBB8D-64E1-4CC1-8849-E35C5BDB53A4",
"requestParameters": {
"CdnType": "web",
"DomainName": "test2.jaso****.com",
"SourceType": "oss",
"Sources": "sampleshared.oss-cn-hangzhou.aliyuncs.com"
},
"serviceName": "Cdn",
"sourceIpAddress": "42.120.XX.XX",
"userAgent": "AliyunConsole",
"userIdentity": {
"type": "ram-user",
"accountId": "102440540619****",
"principalId": "24894915196108****",
"userName": "lisi",
"sessionContext": {
"attributes": {
"creationDate": "2016-01-05T03:30:58Z",
"mfaAuthenticated": "false"
}
}
}
}
A RAM user uses the CDN service through the SDK
{
"apiVersion": "2014-11-11",
"eventId": "1b6a3ec7-576b-435f-b249-9edca1e9****",
"eventName": "AddCdnDomain",
"eventSource": "cdn.aliyuncs.com",
"eventTime": "2016-01-05T03:30:58Z",
"eventType": "ApiCall",
"eventVersion": "1",
"recipientAccountId": "102440540619****",
"requestId": "179CDCB1-CC2D-496A-BE38-723CBAEA241A",
"requestParameters": {
"CdnType": "web",
"DomainName": "test2.jaso****.com",
"SourceType": "oss",
"Sources": "sampleshared.oss-cn-hangzhou.aliyuncs.com"
},
"serviceName": "Cdn",
"sourceIpAddress": "42.120.XX.XX",
"userAgent": "aliyuncli/2.0.6",
"userIdentity": {
"type": "ram-user",
"accountId": "102440540619****",
"principalId": "24894915196108****",
"accessKeyId": "55nCtAwmPLkk****",
"userName": "lisi"
}
}