The log file is a stream of JSON structs. Each struct has a sender
field that identifies the log type.
The logs can be divided into the following categories:
sender
string. This is generally the package name that emits the logtime
string. Date/time with millisecond precisionlevel
stringconnection_id
, string, optionalmessage
stringsender
string. Upload
or Download
time
string. Date/time with millisecond precisionlevel
stringlocal_addr
string. IP/port of the local address the connection arrived on. For FTP protocol this is the address for the control connection. For example 127.0.0.1:1234
remote_addr
string. IP and, optionally, port of the remote client. For example 127.0.0.1:1234
or 127.0.0.1
elapsed_ms
, int64. Elapsed time, as milliseconds, for the upload/downloadsize_bytes
, int64. Size, as bytes, of the download/uploadusername
, stringfile_path
stringconnection_id
string. Unique connection identifierprotocol
string. SFTP
, SCP
, SSH
, FTP
, HTTP
, HTTPShare
, DAV
, DataRetention
, EventAction
ftp_mode
, string. active
or passive
. Included only for FTP
protocolsender
string. Rename
, Rmdir
, Mkdir
, Symlink
, Remove
, Chmod
, Chown
, Chtimes
, Truncate
, Copy
, SSHCommand
level
stringlocal_addr
string. IP/port of the local address the connection arrived on. For example 127.0.0.1:1234
remote_addr
string. IP and, optionally, port of the remote client. For example 127.0.0.1:1234
or 127.0.0.1
username
, stringfile_path
stringtarget_path
stringfilemode
string. Valid for sender Chmod
otherwise emptyuid
integer. Valid for sender Chown
otherwise -1gid
integer. Valid for sender Chown
otherwise -1access_time
datetime as YYYY-MM-DDTHH:MM:SS. Valid for sender Chtimes
otherwise emptymodification_time
datetime as YYYY-MM-DDTHH:MM:SS. Valid for sender Chtimes
otherwise emptysize
int64. Valid for sender Truncate
otherwise -1elapsed
, int64. Elapsed time, as millisecondsssh_command
, string. Valid for sender SSHCommand
otherwise emptyconnection_id
string. Unique connection identifierprotocol
string. SFTP
, SCP
, SSH
, FTP
, HTTP
, DAV
, DataRetention
, EventAction
sender
string. httpd
level
stringtime
string. Date/time with millisecond precisionlocal_addr
string. IP/port of the local address the connection arrived on. For example 127.0.0.1:1234
remote_addr
string. IP and, optionally, port of the remote client. For example 127.0.0.1:1234
or 127.0.0.1
proto
string, for example HTTP/1.1
method
string. HTTP method (GET
, POST
, PUT
, DELETE
etc.)request_id
string. Omitted in telemetry logsuser_agent
stringuri
string. Full uriresp_status
integer. HTTP response status coderesp_size
integer. Size in bytes of the HTTP responseelapsed_ms
int64. Elapsed time, as milliseconds, to complete the requestrequest_id
string. Unique request identifiersender
string. connection_failed
level
stringtime
string. Date/time with millisecond precisionusername
, string. Can be empty if the connection is closed before an authentication attemptclient_ip
string.protocol
string. Possible values are SSH
, FTP
, DAV
login_type
string. Can be publickey
, password
, keyboard-interactive
, publickey+password
, publickey+keyboard-interactive
or no_auth_tryed
error
string. Optional error description