List error log problems
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.
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.
excludeMutedIps?booleanLeave out the muted IPs. An IP include filter on the same request wins.
falseproblemKeyIn?array<string>|Keep only lines of these problems, by problemKey. Repeat the parameter to pass more than one.
levelIn?array<string>|Keep only these nginx levels, such as error or crit. Repeat the parameter to pass more than one.
hostIn?array<string>|Keep only lines whose host: is one of these, matched exactly. Repeat the parameter to pass more than one. Lines without a host are left out.
serverIn?array<string>|Keep only rows recorded under these server names. Repeat the parameter to pass more than one.
clientIpIn?array<string>|Keep only lines from these client IPs or ranges. Repeat the parameter to pass more than one. Each value is an address or a CIDR range such as 203.0.113.0/24. A range with host bits set, or a value that is neither, gets a 400. Lines without a client are left out.
clientIpNotIn?array<string>|Leave out lines from these client IPs or ranges. Repeat the parameter to pass more than one. Each value is an address or a CIDR range such as 203.0.113.0/24. A range with host bits set, or a value that is neither, gets a 400. Lines without a client stay in.
upstreamIn?array<string>|Keep only lines whose upstream origin is one of these, such as http://127.0.0.1:8051. Repeat the parameter to pass more than one. Lines without an upstream are left out.
searchString?|Keep only lines whose message, URL or upstream holds this text, ignoring case. % matches any run of characters and _ any one character.
currentPage?integerThe page to return, counted from 1. Defaults to 1.
1 <= value1pageSize?integerRows per page, from 1 to 100. Defaults to 50.
1 <= value <= 10050tz?|An IANA timezone such as Europe/Oslo, where daily buckets start at midnight. Hourly buckets ignore it. An unknown zone gets a 400. Defaults to UTC.
orderBy?stringlastSeen for new problems first, then the latest line, or lines for the most lines first. Defaults to lastSeen.
"lastSeen""lastSeen""lines"Request fulfilled, document follows
application/json- response
One page of the problems that have lines in scope.
buckets*array<string>The bucket starts each problem's counts follow, oldest first, as ISO 8601 in UTC.
granularity*stringhourly up to 7 days and 1 hour, daily above, in the tz zone.
"hourly""daily"items*array<>The problems on this page.
limit*integerThe page size.
offset*integerHow many problems come before this page.
totalLines*integerLines in scope, across every problem.
totalProblems*integerProblems with lines in scope, on every page.
curl -X GET 'https://geometrikks.example.com/api/v1/error-logs/problems?fromTimestamp=2026-11-01T00%3A00%3A00Z&toTimestamp=2026-11-02T00%3A00%3A00Z&tz=Europe%2FOslo'{ "buckets": [ "string" ], "granularity": "hourly", "items": [ { "clients": 0, "counts": [ 0 ], "firstSeen": "2019-08-24T14:15:22Z", "hostCount": 0, "isNew": true, "key": "string", "lastSeen": "2019-08-24T14:15:22Z", "level": "string", "lines": 0, "logFormat": "string", "signature": "string", "topHosts": [ { "lines": 0, "value": "string" } ], "topUpstreams": [ { "lines": 0, "value": "string" } ], "upstreamCount": 0 } ], "limit": 0, "offset": 0, "totalLines": 0, "totalProblems": 0}List the filter values in the error logs GET
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.
Get one error log problem GET
Returns one problem under the same scope as the problem list: its counts, lines per hour or day, top paths, clients, hosts, upstreams and servers (10 each), its latest line in scope, and the probable access log requests behind up to 50 of its latest lines, counting only requests in the range. 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. A problem with no lines in scope still answers, with zero counts and empty lists.