Skip to Content
ReferenceAPI referenceAccess Log Debug

Count the stored raw log lines in a time range

GET
/api/v1/access-log-debug/stats

Returns how many lines GeoMetrikks stored in the range, how many of them are malformed, and the most common parse error. The range filters on when GeoMetrikks stored each line, inclusive at both ends, and leaving out both ends counts every stored line. The list filters do not apply here.

Authorization

cookiesession<token>

Session cookie authentication.

Query Parameters

fromTimestamp?|

Keep only lines GeoMetrikks stored at or after this time, as ISO 8601 with a timezone.

toTimestamp?|

Keep only lines GeoMetrikks stored at or before this time, as ISO 8601 with a timezone.

Response Body

Request fulfilled, document follows

application/json
  1. response

Counts of the raw log lines stored in a time range.

malformed*integer

Stored lines in the range that count as malformed.

topParseError?|

The parse error the most lines carry, with ties going to the first in alphabetical order. Null when no line in the range has one.

total*integer

Stored lines in the range.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/access-log-debug/stats?fromTimestamp=2026-11-01T00%3A00%3A00Z&toTimestamp=2026-11-02T00%3A00%3A00Z'
Example Response
{  "malformed": 0,  "topParseError": {    "count": 0,    "error": "string"  },  "total": 0}