Skip to Content
ReferenceAPI referenceAccess Logs

Get one access log line

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

Returns one parsed access log line by its id and its timestamp, as the list returns them. Lines are stored by time, so the timestamp is part of the line's key. Muted IPs are not hidden here.

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
autonomousSystemNumber?integer|null
autonomousSystemOrganization?string|null
bytesSent?integer
Default0
city?string|null
countryCode?string|null
countryName?string|null
host?string|null
httpVersion?string|null
id*integer
ipAddress*string
logFormat?string|null
method?string|null
referrer?string|null
remoteUser?string
requestTime?number|null
server?string|null
statusCode*integer
timestamp*string
Formatdate-time
upstreamResponseTime?number|null
url?string|null
userAgent?string|null
Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/access-logs/1?at=2019-08-24T14%3A15%3A22Z'
Example Response
{  "autonomousSystemNumber": 0,  "autonomousSystemOrganization": "string",  "bytesSent": 0,  "city": "string",  "countryCode": "string",  "countryName": "string",  "host": "string",  "httpVersion": "string",  "id": 0,  "ipAddress": "string",  "logFormat": "string",  "method": "string",  "referrer": "string",  "remoteUser": "string",  "requestTime": 0,  "server": "string",  "statusCode": 0,  "timestamp": "2019-08-24T14:15:22Z",  "upstreamResponseTime": 0,  "url": "string",  "userAgent": "string"}