Skip to main content
POST
Query in-cluster Loki log histogram

Body

application/json

Request body for the full-window per-level histogram. Same scope, window and filter as the row query; no paging.

endTime
string
required

Inclusive end of the query window (ISO 8601).

startTime
string
required

Inclusive start of the query window (ISO 8601).

deploymentResourceId
string | null
environmentId
string | null
filter
object

Structured filter applied before counting, the same as the row query.

logSourceKeys
string[] | null
moduleInstanceIds
string[] | null
periodSeconds
integer<int32> | null

Bucket period in seconds. Omit to derive one from the window. Clamped to 1–86400.

Response

The request has succeeded.

Per-level histogram over the full window.

histogram
object[]
required
missedSources
string[]
required
offlineClusters
string[]
required

Cluster ARNs whose Operator agent is not connected.

partial
boolean
required
periodSeconds
integer<int32>
required