aws.ec2.get_console_output
Example SQL Queries
SELECT * FROMaws.ec2.get_console_outputWHERE"instance_id" = 'VALUE';Description
Gets the console output for the specified instance. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. For Windows instances, the instance console output includes the last three system event log errors.
For more information, see Instance console output in the Amazon EC2 User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| instance_id Required Input Column The ID of the instance. | VARCHAR |
| dry_run Input Column Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. | BOOLEAN |
| latest Input Column When enabled, retrieves the latest console output for the instance. Default: disabled (false) | BOOLEAN |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| output The console output, base64-encoded. If you are using a command line tool, the tool decodes the output for you. | VARCHAR |
| timestamp The time at which the output was last updated. | TIMESTAMP_S |