Get Log Record
cloudwatchlogs_get_log_record | R Documentation |
Retrieves all of the fields and values of a single log event¶
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
.
Usage¶
Arguments¶
logRecordPointer
[required] The pointer corresponding to the log event record you want to retrieve. You get this from the response of a
get_query_results
operation. In that response, the value of the@ptr
field for a log event is the value to use aslogRecordPointer
to retrieve that complete log event record.unmask
Specify
true
to display the log event fields with all sensitive data unmasked and visible. The default isfalse
.To use this operation with this parameter, you must be signed into an account with the
logs:Unmask
permission.
Value¶
A list with the following syntax: