edit-icon download-icon

ActionTrail event log examples

Last Updated: Mar 21, 2018

A RAM user uses the ActionTrail service in the console

  1. {
  2. "apiVersion": "2015-09-28",
  3. "eventId": "b4e23d3c-9ba7-441e-ad25-04dd2d0aeb0f",
  4. "eventName": "UpdateTrail",
  5. "eventSource": "actiontrail.cn-hangzhou.aliyuncs.com",
  6. "eventTime": "2016-01-06T03:29:15Z",
  7. "eventType": "ApiCall",
  8. "eventVersion": "1",
  9. "requestId": "3E2B90FE-0B7B-40FB-A9CE-5C80A3F1342F",
  10. "requestParameters": {
  11. "CreateNewBucket": "false",
  12. "Name": "default",
  13. "OssBucketName": "trail",
  14. "OssKeyPrefix": "",
  15. "Region": "cn-hangzhou",
  16. "RoleName": "aliyunactiontraildefaultrole",
  17. "StartLogging": "false"
  18. },
  19. "serviceName": "Actiontrail",
  20. "sourceIpAddress": "42.120.74.96",
  21. "userAgent": "AliyunConsole",
  22. "userIdentity": {
  23. "type": "ram-user",
  24. "principalId": "288153348682784898",
  25. "accountId": "43274",
  26. "userName": "Bob",
  27. "sessionContext": {
  28. "attributes": {
  29. "creationDate": "2016-01-06T03:29:15Z",
  30. "mfaAuthenticated": "true"
  31. }
  32. }
  33. }
  34. }

A RAM user calls ActionTrail through the SDK

  1. {
  2. "apiVersion": "2015-09-28",
  3. "eventId": "aee5874f-1478-47df-932f-0ffd1851fc5f",
  4. "eventName": "UpdateTrail",
  5. "eventSource": "actiontrail.cn-hangzhou.aliyuncs.com",
  6. "eventTime": "2016-01-06T03:29:15Z",
  7. "eventType": "ApiCall",
  8. "eventVersion": "1",
  9. "requestId": "0D690264-0D51-4B4F-8AEE-CDEB3ABD1929",
  10. "requestParameters": {
  11. "CreateNewBucket": "false",
  12. "Name": "default",
  13. "OssBucketName": "trail",
  14. "OssKeyPrefix": "",
  15. "Region": "cn-hangzhou",
  16. "RoleName": "aliyunactiontraildefaultrole",
  17. "StartLogging": "false"
  18. },
  19. "serviceName": "Actiontrail",
  20. "sourceIpAddress": "42.120.74.96",
  21. "userAgent": "aliyuncli/2.0.6",
  22. "userIdentity": {
  23. "type": "ram-user",
  24. "principalId": "274180646548292385",
  25. "accountId": "43274",
  26. "accessKeyId": "f6IzzFZMmzNwEI4d",
  27. "userName": "Alice"
  28. }
  29. }
Thank you! We've received your feedback.