# Log schema

> Understand the OpenTelemetry-compliant logging schema and the fields available in all log entries.

The Logging schema is built upon the [OpenTelemetry standard](https://opentelemetry.io/docs/specs/otel/logs/data-model/).

You can expect the following fields in all log entries:

| Field                | Description                                                                                                                                                                                           |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `timestamp`          | The timestamp of the record, in RFC3339 format.                                                                                                                                                       |
| `severityText`       | The human-readable severity text. For example, `Error` or `Debug`.                                                                                                                                    |
| `severityNumber`     | The matching severity number of the severity text. Refer to the [OpenTelemetry documentation](https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-severitynumber) for mappings.           |
| `body`               | The log message.                                                                                                                                                                                      |
| `resourceAttributes` | OpenTelemetry attributes associated with the origin of the log entry. For example `service.name`.                                                                                                     |
| `logAttributes`      | The log properties, custom user-defined attributes and OpenTelemetry attributes associated with the [log entry](../tutorials/emit-logs) itself. For example, `example.userId` or `exception.message`. |
