Skip to main content

LogQueryResponse

logs object[]
  • Array [
  • timestampstring<date-time>

    Log timestamp

    severitystring

    Severity level (e.g., ERROR, WARN, INFO)

    severity_numberinteger

    Numeric severity level

    bodystring

    Log message body

    trace_idstring

    Associated trace ID

    span_idstring

    Associated span ID

    log_attributes object

    Log-specific attributes

    property name*string
    resource_attributes object

    Resource attributes

    property name*string
    scope_namestring

    Instrumentation scope name

  • ]
  • meta object
    next_cursorstring

    Cursor for the next page

    has_moreboolean

    Whether there are more items to fetch

    LogQueryResponse
    {
    "logs": [
    {
    "timestamp": "2024-07-29T15:51:28.071Z",
    "severity": "string",
    "severity_number": 0,
    "body": "string",
    "trace_id": "string",
    "span_id": "string",
    "log_attributes": {},
    "resource_attributes": {},
    "scope_name": "string"
    }
    ],
    "meta": {
    "next_cursor": "string",
    "has_more": true
    }
    }
    Was this page helpful?