AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Viewing an Elastic Beanstalk Environment's Event Stream

You can use the AWS Management Console to access events and notifications associated with your application. For more details on the most common events, see Understanding Environment Events. For information on how to view events using the AWS Toolkit for Eclipse, see Viewing Events .

AWS Management Console

To view environment and application events

  1. Navigate to the management page for your environment.

  2. From the navigation menu, click Events.

    The Events page shows you a list of all events that have been recorded for the environment and application version. You can filter on the type of events by using the Severity drop-down list. You can also filter when the events occurred by using the time slider.

Command Line

The EB CLI and AWS CLI both provide commands for retrieving events. If you are managing your environment using the EB CLI, use eb events to print a list of events. This command also has a --follow option that continues to show new events until you press Ctrl-C to stop output.

To pull events using the AWS CLI, use the describe-events command and specify the environment by name or ID:

$ aws elasticbeanstalk describe-events --environment-id e-gbjzqccra3
{
    "Events": [
        {
            "ApplicationName": "elastic-beanstalk-example",
            "EnvironmentName": "elasticBeanstalkExa-env",
            "Severity": "INFO",
            "RequestId": "a4c7bfd6-2043-11e5-91e2-9114455c358a",
            "Message": "Environment update completed successfully.",
            "EventDate": "2015-07-01T22:52:12.639Z"
        },
...

For more information on the command line tools, see Tools.

API

You can use the Elastic Beanstalk APIs to view all events for your application. In this example, we use the APIs to get a list of all events for an application named My First Elastic Beanstalk Application.

To view all application events

  • Call DescribeEvents with the following parameter:

    • ApplicationName = My First Elastic Beanstalk Application

    Example

    https://elasticbeanstalk.us-west-2.amazon.com/?ApplicationName=My%20First%20Elastic%20Beanstalk%20Application
    &Operation=DescribeEvents
    &AuthParams