Coder powers secure, scalable development across key industries — automotive, finance, government, and technology — enabling faster builds, tighter compliance, and seamless AI adoption in enterprise-grade cloud environments.
The Connection Log page in the dashboard allows Auditors to monitor workspace agent connections.
Workspace App Connections
The connection log contains a complete record of all workspace app connections.
These originate from within the Coder deployment, and thus the connection log
is a source of truth for these events.
Browser Port Forwarding
The connection log contains a complete record of all workspace port forwarding
performed via the dashboard.
SSH and IDE Sessions
The connection log aims to capture a record of all workspace SSH and IDE sessions.
These events are reported by workspace agents, and their receipt by the server
is not guaranteed.
How to Filter Connection Logs
You can filter connection logs by the following parameters:
organization - The name or ID of the organization of the workspace being
connected to.
workspace_owner - The username of the owner of the workspace being connected
to.
type - The type of the connection, such as SSH, VS Code, or workspace app.
For more connection types, refer to the
CoderSDK documentation.
username: The name of the user who initiated the connection.
Results will not include SSH or IDE sessions.
user_email: The email of the user who initiated the connection.
Results will not include SSH or IDE sessions.
connected_after: The time after which the connection started.
Uses the RFC3339Nano format.
connected_before: The time before which the connection started.
Uses the RFC3339Nano format.
workspace_id: The ID of the workspace being connected to.
connection_id: The ID of the connection.
status: The status of the connection, either ongoing or completed.
Some events are neither ongoing nor completed, such as the opening of a
workspace app.
Capturing/Exporting Connection Logs
In addition to the Coder dashboard, there are multiple ways to consume or query
connection events.
Coder supports configurable retention policies that automatically purge old
Connection Logs. To enable automated purging, configure the
--connection-logs-retention flag or CODER_CONNECTION_LOGS_RETENTION
environment variable. For comprehensive configuration options, see
Data Retention.