Skip to Content
ReferenceAPI referenceError Logs
Next: these pages describe unreleased changes on the develop branch. Read the docs for the current release

Get one error log line

GET
/api/v1/error-logs/{log_id}

Returns one error line by its id and its timestamp, as the list returns them, with its problem and the access log request that probably wrote it. The line shows even when its client is muted. The problem's line count under a range and filters comes from GET /api/v1/error-logs/problems/{key}.

Authorization

cookiesession<token>

Session cookie authentication.

Path Parameters

log_id*integer

The line's id.

Range1 <= value <= 9223372036854776000

Query Parameters

at*string

The line's timestamp, as ISO 8601. A time without a timezone is UTC.

Formatdate-time

Response Body

Request fulfilled, document follows

application/json
  1. response

One error line with its problem and its probable access log request.

accessMatch*|

The probable access log request behind the line. Null when none matches.

line*

The line, as the list returns it.

problem*

The problem the line belongs to.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/error-logs/1?at=2019-08-24T14%3A15%3A22Z'
Example Response
{  "accessMatch": {    "host": "string",    "id": 0,    "server": "string",    "statusCode": 0,    "timestamp": "string"  },  "line": {    "autonomousSystemNumber": 0,    "autonomousSystemOrganization": "string",    "city": "string",    "clientIp": "string",    "connection": 0,    "context": "string",    "countryCode": "string",    "countryName": "string",    "host": "string",    "httpVersion": "string",    "id": 0,    "level": "string",    "logFormat": "string",    "message": "string",    "method": "string",    "pid": 0,    "problemKey": "string",    "rawLine": "string",    "referrer": "string",    "server": "string",    "serverName": "string",    "sourceTimezone": "string",    "tid": 0,    "timestamp": "2019-08-24T14:15:22Z",    "upstream": "string",    "url": "string"  },  "problem": {    "firstSeen": "2019-08-24T14:15:22Z",    "key": "string",    "level": "string",    "signature": "string"  }}