-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapache-php.json
29 lines (29 loc) · 1.1 KB
/
apache-php.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
{
"apache_php_log": {
"title": "Apache PHP log format",
"description": "Log format used by Apache PHP",
"url": "http://www.php.net/",
"regex": {
"fpm": {
"pattern": "^\\[(?<date>\\w{3} \\w{3} \\d{2}) (?<timestamp>\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)? \\d{4})\\] \\[(?<type>\\w+\\:\\w+)\\] (\\[pid (?<pid>\\d{1,8})\\])?(?<body>.*)$"
}
},
"value": {
"date": { "kind": "string", "identifier": true },
"type": { "kind": "string", "identifier": true },
"timestamp": { "kind": "string", "identifier": true },
"body": { "kind": "string" },
"pid": { "kind": "integer", "identifier": true }
},
"level-field": "level",
"level": {
"error": "ERROR",
"warning": "WARNING",
"info": "NOTICE",
"debug": "DEBUG"
},
"sample": [
{ "line" : "[Thu Oct 29 07:26:38.171491 2015] [mpm_prefork:notice] [pid 11789] AH00163: Apache/2.4.16 (Unix) configured -- resuming normal operations" }
]
}
}