List Server Logs
Server Logs
List Server Logs
Tail of recent in-memory runtime logs from the gateway process and connected agents
GET
List Server Logs
Query Parameters
Max number of most recent entries; defaults to and is capped at the in-memory buffer capacity
Response
OK
The agent unique identifier (agent entries only)
The agent name (agent entries only)
Example:
"default"
Structured fields attached to the entry
The zap log level: info, warn, error, ...
Example:
"info"
The trimmed caller path that emitted the entry
Example:
"transport/agent.go:74"
The log message
Example:
"agent connected"
Where the entry was captured
Available options:
gateway, agent Example:
"gateway"
When the entry was logged
Example:
"2024-07-25T15:56:35.317601Z"