v1

latestSwagger 2.02026-07-17302189.0 KB
insight

Stream pod logs using Server-Sent Events

This endpoint streams pod logs in real-time using SSE. It supports container selection and automatic reconnection.

get/insight/aggregator/log/pod/{cluster}/{namespace}/{name}

Path parameters

clusterstring required

The cluster name

namespacestring required

The namespace name

namestring required

The pod name

Query parameters

containerstring

The container name (optional if pod has only one container)

sincestring

Only return logs newer than a relative duration like 5s, 2m, or 3h

sinceTimestring

Only return logs after a specific date (RFC3339)

timestampsboolean

Include timestamps in log output

tailLinesinteger

Number of lines from the end of the logs to show

downloadboolean

Download logs as file instead of streaming

Response

OK

contentstring
errorstring
timestampstring