Logs

Get context lines surrounding a specific log line

Changed on
get/logs/context

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/logs/context
  • Auth: HTTP bearer

Query parameters

timestampstring required

Target line timestamp (RFC 3339)

container_idstring required

Target line container ID

line_idstring required

Target line_id, as a decimal string

linesinteger

Context lines before and after (default: 25, max 50)

Response

Context lines

target_indexinteger required

Changes

    • breaking

      added the new required query request parameter container_id

    • breaking

      added the new required query request parameter line_id

    • breaking

      added the new required query request parameter timestamp

    • breaking

      removed the required property // from the response with the status

    • warning

      deleted the query request parameter chunk_id

    • warning

      deleted the query request parameter line_offset

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property // to the response with the status

    • breaking

      added the new required query request parameter chunk_id

    • breaking

      added the new required query request parameter line_offset

    • breaking

      removed the required property // from the response with the status

    • warning

      deleted the query request parameter container_id

    • warning

      deleted the query request parameter line_id

    • warning

      deleted the query request parameter timestamp

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the required property // to the response with the status