Get one error log line
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}.
session<token>Session cookie authentication.
log_id*integerThe line's id.
1 <= value <= 9223372036854776000at*stringThe line's timestamp, as ISO 8601. A time without a timezone is UTC.
date-timeRequest fulfilled, document follows
application/json- 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.
curl -X GET 'https://geometrikks.example.com/api/v1/error-logs/1?at=2019-08-24T14%3A15%3A22Z'{ "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" }}Count error log lines per hour or day GET
Returns how many lines each hour or day of the range holds, split by nginx level, under the same filters as the list, so the buckets add up to its total. It needs a start: `fromTimestamp` or `window`. A `window` ends at the time of the request. Without `toTimestamp` or `window` the range also ends then, and lines stamped later still count. Ranges up to 7 days and 1 hour get hours, longer ones get days that start at midnight in `tz`. `markers` lists the problems first seen inside the range that have lines in scope, the 20 with the most lines.
List geo events GET
Returns one event per logged request whose client IP has a GeoIP location, newest first, with the location embedded. Page with `currentPage` and `pageSize`, and sort with `orderBy` and `sortOrder`. `fromTimestamp` and `toTimestamp` are optional here, and both ends of the range are inclusive.