Skip to main content

Try free on Pangolin Cloud

Fastest way to get started with Pangolin using the hosted control plane. No credit card required.
Connection logs record each TCP and UDP session that traverses the tunnel between Pangolin clients and resources on your sites. They apply to private resources reached through the Pangolin client (and related tunnel traffic), not to public resources served only through the reverse proxy. You can see which clients and users opened sessions to which private resources, the source and destination addresses and protocols (TCP and UDP), the start and end times of the sessions, and more.
Connection logs are only available in Pangolin Cloud or self-hosted Enterprise Edition.

What are Connection Logs?

Connection logs capture tunnel sessions from clients to private resources. They are useful for:
  • Observing which clients and users opened sessions to which private resources
  • Reviewing source and destination addresses and protocols (TCP and UDP)
  • Measuring traffic volume with transmitted and received byte counts
  • Auditing session start and end times for troubleshooting and compliance
Make sure to enable connection logging in the org settings

Connection Log Fields

Each connection log entry contains the following fields:
FieldTypeDescription
timestampnumberUnix timestamp (in seconds) when the session started
protocolstringTransport protocol for the session (tcp or udp)
siteResourceIdnumber | nullThe ID of the private resource for the session (if applicable)
clientIdnumber | nullThe Pangolin client ID for the session
userIdstring | nullThe user ID when the session is tied to an authenticated user
sourceAddrstringSource address for the session (typically the client-side endpoint)
destAddrstringDestination address for the session (typically the resource-side endpoint)
durationnumber | nullHow long the session lasted (in seconds), when the session has ended
bytesTxnumber | nullBytes transmitted in the session
bytesRxnumber | nullBytes received in the session

Log Retention

Connection log retention is controlled by the organization setting. By default, connection logs are retained for 0 days (disabled).
Connection logs can generate significant data volume depending on session churn and traffic. Consider your storage capacity when configuring retention periods.

Exporting

Logs can be exported into CSV format for external analysis and archival. Logs can be exported from the table view in the Pangolin dashboard or via the Pangolin API. When exporting, you can specify date ranges and filters to narrow down the logs you need.