-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprotftpd_xferlog.json
69 lines (69 loc) · 2.86 KB
/
protftpd_xferlog.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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"
}
]
}
}