CmdID

CmdID / aws / aws elasticbeanstalk

aws elasticbeanstalk describe-events

Returns list of event descriptions matching criteria up to the last 6 weeks. AWS CLI reference

1 example 11 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To view events for an environment

The following describe-events example retrieves events for an environment named my-env.

aws elasticbeanstalk describe-events --environment-name my-envIdentify
--environment-nameIf specified, Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
Its output, shortened
{
    "Events": [
        {
            "ApplicationName": "my-app",
            "EnvironmentName": "my-env",
            "Message": "Environment health has transitioned from Info to Ok.",
            "EventDate": "2015-08-20T07:06:53.535Z",
            "Severity": "INFO"
        },
        {
            "ApplicationName": "my-app",
            "EnvironmentName": "my-env",
            "Severity": "INFO",
            "RequestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "Message": "Environment update completed successfully.",
            "EventDate": "2015-08-20T07:06:02.049Z"
        },
        {
            "ApplicationName": "my-app",
            "EnvironmentName": "my-env",
            "Severity": "INFO",
            "RequestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
            "Message": "Using elasticbeanstalk-us-west-2-123456789012 as Amazon S3 storage bucket for environment data.",
            "EventDate": "2015-08-13T19:16:27.561Z"
        },
        {
            "ApplicationName": "my-app",
            "EnvironmentName": "my-env",
            "Severity": "INFO",
            "RequestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
… 5 more lines

For more information, see Viewing an Elastic Beanstalk environment's event stream in the AWS Elastic Beanstalk Developer Guide.

Options

11 in the AWS CLI reference
--application-nameIf specified, Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
--end-timeIf specified, Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.
--environment-name, --environment-idIf specified, Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
--max-recordsSpecifies the maximum number of events that can be returned, beginning with the most recent event.
--next-tokenPagination token.
--platform-arnThe ARN of a custom platform version.
--request-idIf specified, Elastic Beanstalk restricts the described events to include only those associated with this request ID.
--severityIf specified, limits the events returned from this call to include only those with the specified severity or higher.
--start-timeIf specified, Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
--template-nameIf specified, Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
--version-labelIf specified, Elastic Beanstalk restricts the returned descriptions to those associated with this application version.