List the filter values in the error logs
Returns the levels, hosts, server names and upstreams that have error lines in the range, to fill the filter bar. 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.
session<token>Session cookie authentication.
fromTimestamp?|Keep only lines logged at or after this time, as ISO 8601 with a timezone.
toTimestamp?|Keep only lines logged at or before this time, as ISO 8601 with a timezone.
window?|A rolling window ending now, such as 15m, 24h or 7d, up to 365 days. Use positive whole minutes, hours or days. Cannot be combined with explicit time bounds.
Request fulfilled, document follows
application/json- response
The filter values that have error lines in the range.
hosts*array<string>host: values, sorted.
levels*array<string>nginx levels, most severe first.
servers*array<string>GeoMetrikks server names, sorted.
upstreams*array<string>Upstream origins, sorted.
curl -X GET 'https://geometrikks.example.com/api/v1/error-logs/facets?fromTimestamp=2026-11-01T00%3A00%3A00Z&toTimestamp=2026-11-02T00%3A00%3A00Z'{ "hosts": [ "string" ], "levels": [ "string" ], "servers": [ "string" ], "upstreams": [ "string" ]}List error log lines GET
Returns parsed proxy error log lines, newest first, paged with `currentPage` and `pageSize` and sorted with `orderBy` and `sortOrder`. Every filter is optional. Lines go back ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.
List error log problems GET
Returns the problems that have lines in scope, one page, with their line and client counts, top hosts and upstreams, and lines per hour or day for a sparkline. Takes the same filters as the list. 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. `orderBy=lastSeen` puts problems first seen in the last 24 hours first, then the latest line. `orderBy=lines` puts the most lines first. Ties go by key.