SSH Logs
The descriptions below detail the fields available for ssh_logs
.
AccountID
Section titled “AccountID”Type: string
Cloudflare account ID.
ClientAddress
Section titled “ClientAddress”Type: string
The source address of the SSH command.
Datetime
Section titled “Datetime”Type: int or string
The timestamp in UTC of when this message is being sent.
Type: string
An SSH error. Only used if an error has occurred.
Type: string
This is used by certain programs types to synchronize local and remote SSH terminal state.
Payload
Section titled “Payload”Type: string
The captured request/response data, in asciicast v2 format. This includes the command associated with the 'exec' program type.
ProgramFinishDatetime
Section titled “ProgramFinishDatetime”Type: int or string
The timestamp in UTC of the SSH program termination. This is empty until the program ends.
ProgramID
Section titled “ProgramID”Type: string
The SSH program ID. A single SSH session can have multiple programs running.
ProgramStartDatetime
Section titled “ProgramStartDatetime”Type: int or string
The timestamp in UTC of the SSH program creation.
ProgramType
Section titled “ProgramType”Type: string
The SSH program being run. The options are 'shell': opens an interactive terminal, 'exec': execute a single specified command, 'x11': is for an interactive graphical environment, 'direct-tcpip': direct tunneling, 'forwarded-tcpip': reverse tunneling.
ServerAddress
Section titled “ServerAddress”Type: string
The destination address for the SSH session.
SessionFinishDatetime
Section titled “SessionFinishDatetime”Type: int or string
The timestamp in UTC of the SSH session termination. This is empty until the session ends.
SessionID
Section titled “SessionID”Type: string
SSH session ID.
SessionStartDatetime
Section titled “SessionStartDatetime”Type: int or string
The timestamp in UTC of the SSH session creation.
TargetID
Section titled “TargetID”Type: string
The identifier of the target being accessed.
UserEmail
Section titled “UserEmail”Type: string
User email address.
UserID
Section titled “UserID”Type: string
Cloudflare user ID.
Username
Section titled “Username”Type: string
The principal user being accessed on SSH server's machine. This will be empty if an error was thrown when establishing the connection.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark