|
@@ -44,7 +44,7 @@ |
|
|
block discarded – undo |
|
44
|
44
|
$this->defaultFormat = '%t %s %p %l %m'; |
|
45
|
45
|
$this->addPath("/var/log/"); |
|
46
|
46
|
$this->addFile("fail2ban.log"); |
|
47
|
|
- // '%d' => '(?P<date>[\d \-,:]+)', |
|
|
47
|
+ // '%d' => '(?P<date>[\d \-,:]+)', |
|
48
|
48
|
$this->addColumn('%t', 'time', 'Date', '(?P<time>[\d \-:]+)(,\d+)'); |
|
49
|
49
|
$this->addColumn('%s', 'service', 'Service', '(?P<service>[\w\d\. :]+(|\s+))'); |
|
50
|
50
|
$this->addColumn('%p', 'pid', 'PID', '\[(?P<pid>\d+)\]:'); |
Please login to merge, or discard this patch.