-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The xferlog file contains logging information from the FTP server daemon, proftpd(8). More about this at http://www.castaglia.org/proftpd/doc/xferlog.html
- Loading branch information
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"proftpd_xferlog" : { | ||
"title": "proftpd xferlog", | ||
"description": "The xferlog file contains logging information from the FTP server daemon, proftpd(8).", | ||
"url": "http://www.castaglia.org/proftpd/doc/xferlog.html", | ||
"regex": { | ||
"std": { | ||
/* # current-time transfer-time remote-host file-size filename transfer-type special-action-flag direction access-mode username service-name authentication-method authenticated-user-id completion-status */ | ||
"pattern" : "^(?<timestamp>\\w{3} \\w{3} \\d+ \\d+:\\d+:\\d+ \\d+) (?<transfer_time>\\d+) (?<remote_host>[:a-f\\d\\.]+) (?<file_size>\\d+) (?<file_name>\\S+) (?<transfer_type>[ab]) (?<special_action_flag>[CUT\\_]) (?<direction>[oid]) (?<access_mode>[agr]) (?<username>[\\d\\w@\\.]+) (?<service_name>\\w+) (?<auth_method>[01]) (?<authenticated_user_id>\\S+) (?<completion_status>[ci])$" | ||
} | ||
}, | ||
"level-field": "level", | ||
"value" : { | ||
"transfer_time" : { | ||
"kind" : "string", | ||
"identifier" : false | ||
}, | ||
"remote_host" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"file_size" : { | ||
"kind" : "integer", | ||
"identifier" : false | ||
}, | ||
"transfer_type" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"special_action_flag" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"direction" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"access_mode" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"username" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"service_name" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"auth_method" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"authenticated_user_id" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
}, | ||
"completion_status" : { | ||
"kind" : "string", | ||
"identifier" : true | ||
} | ||
}, | ||
"sample": [ | ||
{ | ||
"line": "Fri Jun 21 11:25:46 2019 1 ::ffff:192.168.100.2 3734 /pub/repodata/repomd.xml b _ o a [email protected] ftp 0 * c" | ||
} | ||
] | ||
} | ||
} |