Skip to content

Request Environment Info

elasticbeanstalk_request_environment_info R Documentation

Initiates a request to compile the specified type of information of the deployed environment

Description

Initiates a request to compile the specified type of information of the deployed environment.

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs.

Use retrieve_environment_info to obtain the set of logs.

Related Topics

  • retrieve_environment_info

Usage

elasticbeanstalk_request_environment_info(EnvironmentId,
  EnvironmentName, InfoType)

Arguments

EnvironmentId

The ID of the environment of the requested data.

If no such environment is found, request_environment_info returns an InvalidParameterValue error.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

EnvironmentName

The name of the environment of the requested data.

If no such environment is found, request_environment_info returns an InvalidParameterValue error.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

InfoType

[required] The type of information to request.

Value

An empty list.

Request syntax

svc$request_environment_info(
  EnvironmentId = "string",
  EnvironmentName = "string",
  InfoType = "tail"|"bundle"
)

Examples

## Not run: 
# The following operation requests logs from an environment named my-env:
svc$request_environment_info(
  EnvironmentName = "my-env",
  InfoType = "tail"
)

## End(Not run)