Skip to content

Commit d8e1c9d

Browse files
committed
Update com.google.* to gcp.* in logs data model
1 parent 0f2f26d commit d8e1c9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification/logs/data-model.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1007,16 +1007,16 @@ Field | Type | Description
10071007
-----------------|--------------------| ------------------------------------------------------- | ---------------------------
10081008
timestamp | string | The time the event described by the log entry occurred. | Timestamp
10091009
resource | MonitoredResource | The monitored resource that produced this log entry. | Resource
1010-
log_name | string | The URL-encoded LOG_ID suffix of the log_name field identifies which log stream this entry belongs to. | Attributes["com.google.log_name"]
1010+
log_name | string | The URL-encoded LOG_ID suffix of the log_name field identifies which log stream this entry belongs to. | Attributes["gcp.log_name"]
10111011
json_payload | google.protobuf.Struct | The log entry payload, represented as a structure that is expressed as a JSON object. | Body
10121012
proto_payload | google.protobuf.Any | The log entry payload, represented as a protocol buffer. | Body
10131013
text_payload | string | The log entry payload, represented as a Unicode string (UTF-8). | Body
10141014
severity | LogSeverity | The severity of the log entry. | Severity
10151015
trace | string | The trace associated with the log entry, if any. | TraceId
10161016
span_id | string | The span ID within the trace associated with the log entry. | SpanId
10171017
labels | map<string,string> | A set of user-defined (key, value) data that provides additional information about the log entry. | Attributes
1018-
http_request | HttpRequest | The HTTP request associated with the log entry, if any. | Attributes["com.google.httpRequest"]
1019-
All other fields | | | Attributes["com.google.*"]
1018+
http_request | HttpRequest | The HTTP request associated with the log entry, if any. | Attributes["gcp.httpRequest"]
1019+
All other fields | | | Attributes["gcp.*"]
10201020

10211021
## Elastic Common Schema
10221022

0 commit comments

Comments
 (0)