Logs
get/logs/global/aggregate
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/logs/global/aggregate
- Auth: HTTP bearer
Query parameters
start_timestring required
Window start (RFC 3339)
end_timestring required
Window end (RFC 3339)
source'collected' | 'application' | 'service'
Which family of log sources a query covers.
Source kind (default: all)
projectsstring[]
Project selectors (repeatable)
external_servicesstring[]
External service selectors (repeatable)
scopesstring[]
Scope selectors (repeatable)
levelsLog Level[]
Levels (repeatable)
envsstring[]
Environments (repeatable)
servicesstring[]
Services (repeatable)
container_idsstring[]
Container ids (repeatable)
node_idsinteger[]
Node ids (repeatable)
deploy_idinteger
Deployment id
group_bystring required
Comma-separated label names and/or attr:<name>
metricstring required
count | count_distinct:<k> | avg:<k> | p50:<k> | p95:<k> | p99:<k> | max:<k> | sum:<k>
limitinteger
Max rows returned (default 50, cap 1000)
attrstring[] required
Repeatable attribute predicate: <key><op><value> or <key>?
Response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking