Diagram
An annotated LogEntry object showing its metadata fields — timestamp, severity, resource, labels, logName, trace — and a nested protoPayload containing an AuditLog object with serviceName, authenticationInfo, methodName, and metadata fields.
Core Components of a Log Entry
A log entry organizes operational data into standard metadata fields plus a message payload. The metadata describes the context of the event, while the payload carries the diagnostic details. Together these fields let you filter, group, and troubleshoot events from many services in one place.
receiveTimestamp records when Cloud Logging received the entry.severity >= "ERROR".resource.type and resource.labels, such as a virtual machine instance or container.jsonPayload fields, or a protoPayload object for audit logs.logName identifies the log that stores the entry, while trace and traceSampled link related entries from the same traced request.Domain 6 of 13
23 practice questions
Practice this DomainLast updated