Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify usage of log body for structured logs #3023

7 changes: 4 additions & 3 deletions specification/logs/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,10 @@ Description: A value containing the body of the log record (see the description
of `any` type above). Can be for example a human-readable string message
(including multi-line) describing the event in a free form or it can be a
structured data composed of arrays and maps of other values. First-party
Applications SHOULD use a string message. However, a structured body may be
necessary to preserve the semantics of some existing log formats. Can vary for
each occurrence of the event coming from the same source. This field is optional.
Applications SHOULD use a string message. However, a structured body SHOULD be
djaglowski marked this conversation as resolved.
Show resolved Hide resolved
used to preserve the semantics of structured logs emitted by Third-party
djaglowski marked this conversation as resolved.
Show resolved Hide resolved
Applications. Can vary for each occurrence of the event coming from the same
source. This field is optional.

### Field: `Resource`

Expand Down