Logs
get/logs/global/histogram

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/logs/global/histogram
  • 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)

levelsLogLevel[]

Levels (repeatable)

envsstring[]

Environments (repeatable)

servicesstring[]

Services (repeatable)

container_idsstring[]

Container ids (repeatable)

node_idsinteger[]

Node ids (repeatable)

deploy_idinteger

Deployment id

bucket_secsinteger

Bucket width in seconds (default 60)

group_bystring

One label name or attr:<name> to split series by

max_groupsinteger

Max series before folding the rest into "other" (default 8)

attrstring[] required

Repeatable attribute predicate: <key><op><value> or <key>?

Response

Changes