Logs
Stack runtime logs proxied from the infra
Get stack logs
Returns the newest matching log lines for the deployed stack (most recent first), queried from VictoriaLogs.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
query Parameters
serviceRestrict logs to a specific compose service (container)
txtOnly return lines whose message contains this phrase
sinceTrailing window as a Go duration (e.g. 15m, 1h). Defaults to 1h. Ignored when from and to are both set.
fromAbsolute window start (RFC3339). When both from and to are set
they take precedence over since; from must be before to.
toAbsolute window end (RFC3339). Required together with from.
limitMaximum number of lines to return. Defaults to 100.
Get stack logs › Responses
Log lines, newest first
timemsgRemaining log fields (labels such as stack, container, level, …)
Stream stack logs (live tail)
Streams the stack's logs live over Server-Sent Events (SSE), queried
from VictoriaLogs. Each data: event payload is a JSON LogEntry. The
stream stays open until the client disconnects or the upstream closes;
a terminal event: error may be emitted if the stream ends abnormally.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
query Parameters
serviceRestrict logs to a specific compose service (container)
txtOnly stream lines whose message contains this phrase
Stream stack logs (live tail) › Responses
SSE stream of LogEntry events
timemsgRemaining log fields (labels such as stack, container, level, …)
Stack log volume histogram
Returns a gap-free, step-aligned histogram of the stack's log-line
counts over the selected window (trailing since or an absolute
from/to range), queried from VictoriaLogs. Empty buckets are
filled with zero so the series always has a fixed number of bars.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
query Parameters
serviceRestrict counts to a specific compose service (container)
txtOnly count lines whose message contains this phrase
sinceTrailing window as a Go duration (e.g. 15m, 1h). Defaults to 1h. Ignored when from and to are both set.
fromAbsolute window start (RFC3339). When both from and to are set
they take precedence over since; from must be before to.
toAbsolute window end (RFC3339). Required together with from.
Stack log volume histogram › Responses
Step-aligned log volume buckets, oldest first
timecountLog source tree for the organization
Returns the org's project -> stack -> service tree that powers the logs page selector. Only deployed stacks are included; service names are parsed statically from each stack's stored compose file, so this needs no VM or observability-backend call.
Log source tree for the organization › Responses
Project/stack/service tree, sorted by name
idname