- Description:
Log files watcher for errors
Watches local log files (and optionally AWS CloudWatch Logs) for matching patterns, tracks last processed positions in a DB table, and sends notifications via configured transports (email/http/logger/console/...).
- Source:
Members
(inner) files
- Description:
List of files to watch.
Every file entry is an object with the following properties:
- Source:
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
file |
string |
<optional> |
Absolute path to the log file. |
|
name |
string |
<optional> |
Name of the property in a module that contains the file path (resolved via lib.objGet). |
|
mod |
string |
<optional> |
Module name inside |
|
ignore |
RegExp |
<optional> |
Local ignore regexp for this file. |
|
match |
RegExp |
<optional> |
Local match regexp for this file (if present it forces matching for this entry). |
|
type |
string |
<optional> |
"all"
|
Channel to report to when |