CmdID / aws / aws elasticbeanstalk
aws elasticbeanstalk request-environment-info
Initiates a request to compile the specified type of information of the deployed environment. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To request tailed logs
The following request-environment-info example requests logs from an environment named my-env.
aws elasticbeanstalk request-environment-info --environment-name my-env --info-type tailIdentify--environment-nameThe name of the environment of the requested data.--info-typeThe type of information to request.This command produces no output.
After requesting logs, retrieve their location with retrieve-environment-info.
For more information, see Viewing logs from Amazon EC2 instances in your Elastic Beanstalk environment in the AWS Elastic Beanstalk Developer Guide.
Options
--environment-idThe ID of the environment of the requested data.--environment-nameThe name of the environment of the requested data.--info-typeThe type of information to request.