-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml.dist
50 lines (50 loc) · 1.6 KB
/
config.yml.dist
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
apache:
path: '/var/log/httpd/error_log'
format:
date: '/^\[(.*?)\]/'
type: '/\[(warn|error|debug|info|crit|emerg|notice|alert)\]/'
client: '/\] \[client ([0-9\.]*)\]/'
message: '/\]+\s+(?!\[)(.*)/'
cast:
date: '\DateTime'
nginx:
path: '/var/log/nginx/error.log'
format:
date: '/(\d{4}\/\d{2}\/\d{2}\s\d{2}:\d{2}:\d{2}) /'
type: '/ \[([^]]*)\]/'
message: '/ [0-9]+#[0-9]+: ([^,]+)/'
client: '/ client: ([^,]+),/'
server: '/ server: ([^,]+),/'
request: '/ request: "([^"]+)",/'
host: '/ host: "([^"]+)"/'
cast:
date: '\DateTime'
php_fpm:
path: 'tests/fixtures/php-fpm.log'
format:
date: '/^\[(.*?)\]/'
type: '/\] (ALERT|ERROR|WARNING|NOTICE|DEBUG): /'
pool: '/: \[pool (.+?)] /'
child: '/\] child ([0-9]+)/'
message: '/\] (?:ALERT|ERROR|WARNING|NOTICE|DEBUG): (?:\[pool [a-z]+\] ){0,1}(?:child [0-9]+(?:,){0,1} ){0,1}(.+)+/'
cast:
date: '\DateTime'
php:
path: '/var/log/php-fpm/www-error.log'
format:
date: '/^\[(.*?)\]/'
type: '/\] (.+): /'
message: '/\] (?:.+): (.+) in (?:.+)(?::| on line )[0-9]+/'
file: '/ in (.+)(?::| on line )[0-9]+/'
line: '/ in (?:.+)(?::| on line )([0-9]+)/'
cast:
date: '\DateTime'
mysql:
path: '/var/log/mysql/mysql_error.log'
format:
date: '/^([0-9A-Z\.\-:]+) /'
thread: '/^(?:[0-9A-Z\.\-:]+) ([0-9]+) \[/'
type: '/(?:[0-9]+) \[(.+)\] /'
message: '/ (?:[0-9]+ \[.+\] ){0,1}(.+)+/'
cast:
date: '\DateTime'