Get one stored raw log line
Returns one stored raw line by its id and createdAt, as the list returns them, with the request fields copied from the access log line it produced. Lines are stored by the time GeoMetrikks stored them, so that time is part of the line's key.
session<token>Session cookie authentication.
line_id*integerThe line's id.
1 <= value <= 9223372036854776000at*stringThe line's createdAt, as ISO 8601. A time without a timezone is UTC.
date-timeRequest fulfilled, document follows
application/json- response
One stored raw log line, with the fields of the access log line it produced.
The access log fields are copies made when GeoMetrikks stored the line. They are null when the line did not parse into an access log line.
accessLogId?|The id of the access log line this line produced.
city?string|nullcountryCode?string|nullcountryName?string|nullcreatedAt*stringWhen GeoMetrikks stored the line, in UTC.
date-timehost?string|nullid*integeripAddress?string|nullisMalformed*booleanTrue for a line that did not match the log format, or that looks like a probe such as a TLS handshake sent to the HTTP port.
logFormat?|The log format that read the line. Null on lines stored before GeoMetrikks recorded it.
method?string|nullparseError?|Why the line counts as malformed. Null for a well-formed line.
rawFields?|The line split into its keys when it is a JSON object. Null for any other line, and for an object with key paths more than six levels deep or more than 200 flattened fields.
rawLine*stringThe line as the log had it, with null bytes replaced.
statusCode?integer|nulltimestamp?|The request time from the line, in UTC.
url?string|nulluserAgent?string|nullcurl -X GET 'https://geometrikks.example.com/api/v1/access-log-debug/1?at=2019-08-24T14%3A15%3A22Z'{ "accessLogId": 0, "city": "string", "countryCode": "string", "countryName": "string", "createdAt": "2019-08-24T14:15:22Z", "host": "string", "id": 0, "ipAddress": "string", "isMalformed": true, "logFormat": "string", "method": "string", "parseError": "string", "rawFields": { "fields": [ { "group": "request_header", "key": "string", "storedAs": "string", "value": "string" } ], "format": "string" }, "rawLine": "string", "statusCode": 0, "timestamp": "2019-08-24T14:15:22Z", "url": "string", "userAgent": "string"}Count the stored raw log lines in a time range GET
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.
List access log lines GET
Returns parsed access log lines, newest first, paged with `currentPage` and `pageSize` and sorted with `orderBy` and `sortOrder`. `searchString` matches part of the URL, referrer or user agent, ignoring case unless `searchIgnoreCase` is false. Timings are in seconds, and lines go back ANALYTICS_RAW_RETENTION_DAYS days, 180 by default. For recent polling, use window=10m and deduplicate by id. X-Range-Start and X-Range-End echo inclusive bounds; reuse them as fromTimestamp and toTimestamp on later pages. Do not send window with explicit bounds. Pagination is not a snapshot; overlapping polls can repeat records and do not guarantee late imports or backfills.