v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448206184.6 KB

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.

post/#X-Amz-Target=Logs_20140328.GetLogRecord

Headers

X-Amz-Target'Logs_20140328.GetLogRecord' required

Request body

logRecordPointerstring required

The pointer corresponding to the log event record you want to retrieve. You get this from the response of a <code>GetQueryResults</code> operation. In that response, the value of the <code>@ptr</code> field for a log event is the value to use as <code>logRecordPointer</code> to retrieve that complete log event record.

unmaskboolean
<p>Specify <code>true</code> to display the log event fields with all sensitive data unmasked and visible. The default is <code>false</code>.</p> <p>To use this operation with this parameter, you must be signed into an account with the <code>logs:Unmask</code> permission.</p>

Response

Success

logRecordobject

The requested log event, as a JSON string.