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)
  • 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

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision