aws.logs.get_log_record
Example SQL Queries
SELECT * FROMaws.logs.get_log_recordWHERE"log_record_pointer" = 'VALUE';Description
Retrieves all of the fields and values of a single log event. All fields are retrieved, even if the original query that produced the logRecordPointer retrieved only a subset of fields. Fields are returned as field name/field value pairs.
The full unparsed log event is returned within @message.
Table Definition
| Column Name | Column Data Type |
|---|---|
| log_record_pointer Required Input Column The pointer corresponding to the log event record you want to retrieve. You get this from the response of a GetQueryResults operation. In that response, the value of the @ptr field for a log event is the value to use as logRecordPointer to retrieve that complete log event record. | VARCHAR |
| unmask Input Column Specify true to display the log event fields with all sensitive data unmasked and visible. The default is false. To use this operation with this parameter, you must be signed into an account with the logs:Unmask permission. | 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 |
| log_record The requested log event, as a JSON string. | MAP(VARCHAR, VARCHAR) |