If an error occurs in your container, you can view the events and logs of the container to troubleshoot the error. This topic describes how to view the events and logs of an Elastic Container Instance (ECI).

Procedure

  1. Log on to the ECI console.

  2. On the Elastic Container Instance page, click the container group for which you want to view the logs.

    On the details page that appears, you can view the information about the target container group.

  3. View the events.

    Click the Event tab. On this tab, you can view the latest 50 events of the current container group.

  4. View the logs.

    Click the Logs tab. On this tab, you can select a container and view the logs of the selected container. You can also specify a time to view the logs that are generated after that time.