Get one access log line
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.
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
autonomousSystemNumber?integer|nullautonomousSystemOrganization?string|nullbytesSent?integer0city?string|nullcountryCode?string|nullcountryName?string|nullhost?string|nullhttpVersion?string|nullid*integeripAddress*stringlogFormat?string|nullmethod?string|nullreferrer?string|nullremoteUser?stringrequestTime?number|nullserver?string|nullstatusCode*integertimestamp*stringdate-timeupstreamResponseTime?number|nullurl?string|nulluserAgent?string|nullcurl -X GET 'https://geometrikks.example.com/api/v1/access-logs/1?at=2019-08-24T14%3A15%3A22Z'{ "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"}Count access log lines per hour or day GET
Returns how many lines each hour or day of the range holds, split by status class, under the same parameters and the same meaning as the list, so the buckets add up to its total. It needs a start: `fromTimestamp` or `window`, and without `toTimestamp` it runs to now. Ranges up to 7 days and 1 hour get hours, longer ones get days that start at midnight in `tz`. Lines go back ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.
Get the error line behind an access log line GET
Returns the proxy error line that the access log line with this `id` and `timestamp` probably wrote, or null. A line matches when it has the same server, client address, method and URL, and the same host when both have one. Its time falls between 1 second before the request started and 1 second after the access time, where the request started its request time before the access time, counting at most 300 seconds; a missing or negative request time counts as 0. An IPv4 client also matches its IPv4-mapped IPv6 form, and hosts compare without ASCII case, port or trailing dot. The closest line wins, then the most severe, then the earliest, then the lowest `id`. Muted IPs are not hidden from the match. `problemLines` counts the problem's lines from `fromTimestamp` to `toTimestamp`, or every retained line without them, and `excludeMutedIps` leaves the muted clients' lines out of it.