Skip to content

Commit e1e1e3a

Browse files
committed
Minor changes to config example
1 parent 8cef56e commit e1e1e3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gerberos.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ saveFilePath = "./gerberos.save"
1616
# - ["kernel"] (using journalctl)
1717
source = ["file", "/var/log/apache2/access.log"]
1818
# Required. "%ip%" must appear exactly once in
19-
# each regexp (Golang flavor). "%ip%" will be
19+
# each main regexp (Golang flavor). "%ip%" will be
2020
# replaced with the following subexpression named
2121
# "ip" matching IPv4 and IPv6 addresses:
2222
# (?P<ip>(\d?\d?\d\.){3}\d?\d?\d|([0-9A-Fa-f]{0,4}::?)
@@ -37,7 +37,7 @@ saveFilePath = "./gerberos.save"
3737
action = ["ban", "24h"]
3838

3939
# Example aggregate rule for radicale.
40-
# Needs logging -> level = info
40+
# Needs radicale logging -> level = info.
4141
[rules.radicale]
4242
source = ["systemd", "radicale"]
4343
# If the aggregate option is used, "%id% must
@@ -55,5 +55,5 @@ saveFilePath = "./gerberos.save"
5555
# of the main regexps has been matched with the
5656
# same ID. "id" must appear exactly once in each
5757
# aggregate regexp.
58-
aggregate = ["2m", "\\] \\[%id%\\] \\[INFO\\] Failed login attempt"]
58+
aggregate = ["2m", '\] \[%id%\] \[INFO\] Failed login attempt']
5959
occurrences = ["3", "5m"]

0 commit comments

Comments
 (0)