aws.lightsail.get_relational_database_log_events
Example SQL Queries
SELECT * FROMaws.lightsail.get_relational_database_log_eventsWHERE"relational_database_name" = 'VALUE'AND "log_stream_name" = 'VALUE';Description
Returns a list of log events for a database in Amazon Lightsail.
Table Definition
| Column Name | Column Data Type |
|---|---|
| log_stream_name Required Input Column The name of the log stream. Use the get relational database log streams operation to get a list of available log streams. | VARCHAR |
| relational_database_name Required Input Column The name of your database for which to get log events. | VARCHAR |
| end_time Input Column The end of the time interval from which to get log events. Constraints:
| TIMESTAMP_S |
| page_token Input Column The token to advance to the next or previous page of results from your request. To get a page token, perform an initial GetRelationalDatabaseLogEvents request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request. | VARCHAR |
| start_from_head Input Column Parameter to specify if the log should start from head or tail. If true is specified, the log event starts from the head of the log. If false is specified, the log event starts from the tail of the log. For PostgreSQL, the default value of false is the only option available. | BOOLEAN |
| start_time Input Column The start of the time interval from which to get log events. Constraints:
| TIMESTAMP_S |
| _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 |
| next_backward_token A token used for advancing to the previous page of results from your get relational database log events request. | VARCHAR |
| next_forward_token A token used for advancing to the next page of results from your get relational database log events request. | VARCHAR |
| resource_log_events An object describing the result of your get relational database log events request. | STRUCT( |
Show child fields
| |