edit-icon download-icon

ECS event log examples

Last Updated: Mar 21, 2018

A RAM user stops the specified ECS instance by using the console

  1. {
  2. "apiVersion": "2014-05-26",
  3. "eventId": "f4788483-70fc-476b-839b-af5ed11170cd",
  4. "eventName": "StopInstance",
  5. "eventSource": "ecs-cn-hangzhou.aliyuncs.com",
  6. "eventTime": "2016-01-04T09:47:40Z",
  7. "eventType": "ApiCall",
  8. "eventVersion": "1",
  9. "recipientAccountId": "43274",
  10. "requestId": "275A832E-4C6A-47BE-A432-C18DDD79FDAB",
  11. "requestParameters": {
  12. "ForceStop": "true",
  13. "InstanceId": "i-22nyrl1yf"
  14. },
  15. "serviceName": "Ecs",
  16. "sourceIpAddress": "42.120.74.96",
  17. "userAgent": "AliyunConsole",
  18. "userIdentity": {
  19. "type": "ram-user",
  20. "accountId": "43274",
  21. "principalId": "288153348682784898",
  22. "userName": "Bob",
  23. "sessionContext": {
  24. "attributes": {
  25. "creationDate": "2016-01-04T09:47:40Z",
  26. "mfaAuthenticated": "true"
  27. }
  28. }
  29. }
  30. }

A RAM user stops the specified ECS instance by using the SDK

  1. {
  2. "apiVersion": "2014-05-26",
  3. "eventId": "e0cdf18f-e5ec-4c5f-b37c-99b608b9418c",
  4. "eventName": "StopInstance",
  5. "eventSource": "ecs-cn-hangzhou.aliyuncs.com",
  6. "eventTime": "2016-01-04T09:47:40Z",
  7. "eventType": "ApiCall",
  8. "eventVersion": "1",
  9. "recipientAccountId": "43274",
  10. "requestId": "FC33D0AB-1C6B-4B4E-911D-E939122AA248",
  11. "requestParameters": {
  12. "ForceStop": "true",
  13. "InstanceId": "i-84udjsiop"
  14. },
  15. "serviceName": "Ecs",
  16. "sourceIpAddress": "42.120.74.96",
  17. "userAgent": "aliyuncli/2.0.6",
  18. "userIdentity": {
  19. "type": "ram-user",
  20. "accountId": "43274",
  21. "principalId": "288153348682784898",
  22. "userName": "Bob",
  23. "accessKeyId": "IE8ITksrR3SDuqzI"
  24. }
  25. }
Thank you! We've received your feedback.