/
filters-example.toml
64 lines (47 loc) · 1.55 KB
/
filters-example.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[filters]
[filters.dev]
host = "^p520([.]|$)"
[filters.tst]
host = "^(as|br)test([.]|$)"
[filters.prd]
host = "^(as|br)prod([.]|$)"
[filters.error]
level_lt = 3
[filters.wabard]
facility = "^wabard[.]"
[filters.kobe]
facility = "^kobe[.]"
[filters.cig]
facility = "^cig[.]"
[filters.zaras]
facility = "[.]zaras$"
[destinations]
[destinations.wabard-email]
email = ["wabard@example.com"]
[destinations.kobe-email]
email = ["kobe@example.com"]
[destinations.cig-email]
email = ["cig@example.com"]
[destinations.wabard-ops-email]
email = ["boss@example.com", "cig@example.com", "minion@example.com"]
[destinations.wabard-ops-sms]
sms = ["+99999999"]
[destinations.wabard-mantis]
mantis = "https://username:password@www.example.com/mantis/wabard/xmlrpc_vv.php?project=1&category=error"
[destinations.kobe-ops-email]
email = ["boss@example.com", "kobe@example.com", "minion@example.com"]
[destinations.cig-ops-email]
email = ["boss@example.com", "l.megyesi@citromail.hu", "cig@example.com", "minion@example.com"]
[rules]
[rules.kobe-error]
if = ["kobe", "error"]
then = ["kobe-email"]
[rules.wabard-error]
if = ["wabard", "error"]
then = ["wabard-email"]
[rules.wabard-prd-error]
if = ["wabard", "prd", "error"]
then = ["wabard-email", "wabard-ops-email", "wabard-ops-sms", "wabard-mantis"]
[rules.zaras-error]
if = ["zaras", "error"]
then = ["wabard-ops-email", "wabard-ops-sms", "wabard-mantis"]