Debian Codegraph @

hub1/parsers/s01-parse/baudneo/zoneminder-logs.md

raw
1 # Description
2 A parser that searches for unknown user and incorrect password logins to ZoneMinder by using `web_php.log` as a data source.
3 Now supports new PHP date format; DEFAULT US/CAN format.
4
5 # HOW TO INSTALL PROPERLY
6 - REQUIRED - example `acquis.yaml` entry - the `type` must be exactly as shown here or the parser will never be successful.
7 ***The log path is the default path on a debian based distro, change to point towards where your ZoneMinder `web_php.log` is***
8 ```yaml
9 filenames:
10 - /var/log/zm/web_php.log
11 labels:
12 type: zoneminder
13 ```
14 :exclamation: The `type` **MUST** be `zoneminder` :exclamation:
15
16 # Statics
17 - IP is logged as `evt.Parsed.source_ip` and `evt.Meta.source_ip`
18 - Username is logged as `evt.Parsed.username` and `evt.Meta.username`