---
title: "OTelLog"
url: "https://nov18-dev.movespot.fyi/apis/konnect-dolly-apis-dev-1/versions/4ba55f2d-e3a2-486c-a018-16faa4e1afe4/schemas/OTelLog"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-dolly-apis-dev-1/versions/4ba55f2d-e3a2-486c-a018-16faa4e1afe4.md

# OTelLog

Represents a log entry based on the OpenTelemetry (OTel) data model.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Dolly APIs
  version: 1.0.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    Attributes:
      type: object
    OTelLog:
      description: Represents a log entry based on the OpenTelemetry (OTel) data model.
      type: object
      properties:
        span_id:
          description: Identifier of the span within a trace. Refers to the OTel `SpanId`
            field.
          type: string
        trace_id:
          description: Identifier of the trace. Refers to the OTel `TraceId` field.
          type: string
        timestamp:
          description: The time at which the event occurred. Refers to the OTel
            `Timestamp` field.
          type: string
          format: date-time
        observed_timestamp_ns:
          description: Unix epoch time when the event was observed by the collection
            system in nanoseconds
          type: integer
          format: int64
        severity_text:
          description: Human-readable severity level of the log (e.g., ERROR, WARN).
            Refers to the OTel `SeverityText` field.
          type: string
        severity_number:
          description: Numeric representation of the severity level. Refers to the OTel
            `SeverityNumber` field.
          type: integer
        body:
          description: The main content of the log entry. Refers to the OTel `Body` field.
          type: string
        attributes:
          description: Key-value pairs providing additional context for the log. Refers to
            the OTel `Attributes` field.
          type: object
        resource:
          description: Resource information associated with the log, such as service name
            or version. Refers to the OTel `Resource` field.
          type: object
          additionalProperties: {}
          properties:
            attributes:
              $ref: "#/components/schemas/Attributes"
        scope:
          description: Scope information associated with the log. Refers to the OTel
            `Scope` field.
          type: object
          properties:
            attributes:
              $ref: "#/components/schemas/Attributes"
      example:
        span_id: 090a0b0c0d0e0f00
        trace_id: ff0102030405060708090a0b0c0d0e0f
        timestamp: 2025-04-22T14:12:00.123Z
        observed_timestamp_ns: 1749449968177456600
        severity_text: ERROR
        severity_number: 17
        body: Timeout from downstream service
        attributes:
          user_id: user-123
          request_id: abc-123
          check_number: 2344
        resource:
          attributes:
            service.name: Kong
            service.version: 1.2.3
        scope:
          attributes:
            log_body_decryption_error": error decrypting log
      required:
        - timestamp
        - body
        - attributes
        - resource
        - observed_timestamp_ns
```
