-
Notifications
You must be signed in to change notification settings - Fork 2
/
configuration_example.json
107 lines (107 loc) · 2.58 KB
/
configuration_example.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"connection": {
"server": {
"host": "localhost",
"port": 3306,
"type": "mysql",
"database": {
"name": "openreq",
"create_collection": true,
"map": [
{
"information": "information_default",
"collection": "logging_information_default"
}
]
}
},
"user": {
"name": "username",
"password": "password"
}
},
"logging": {
"backend": {
"server": {
"host": "0.0.0.0",
"port": 80
}
},
"frontend": {
"receiver": "/log",
"debug": {
"enabled": true,
"console": {
"date": true,
"class": true
}
},
"targets": [
{
"bound": false,
"name": "navigation_main",
"type": "mouse",
"category": "click",
"selector": ".navigation-sections .navigation-element",
"information": "information_default"
},
{
"bound": false,
"delayed": true,
"name": "household_change",
"type": "mouse",
"category": "click",
"selector": ".household-selection-list .navigation-element",
"information": "information_default"
},
{
"bound": false,
"delayed": true,
"name": "formular_tab_change",
"type": "mouse",
"category": "click",
"selector": ".selection-list .selection-element",
"information": "information_default"
}
],
"information": [
{
"id": "information_default",
"target_name": "logging_event",
"timestamp_name": "created",
"header": [],
"fields": [
{
"name": "user_hash",
"source": "variable",
"value": "user_hash",
"datatype": "string"
},
{
"name": "body_css_class",
"source": "query",
"value": "body",
"get": "attr",
"parameter": "class",
"datatype": "string"
},
{
"name": "element_content",
"source": "event",
"value": "currentTarget.innerText",
"datatype": "string"
},
{
"name": "content_css_class",
"source": "query",
"value": "#content",
"get": "attr",
"parameter": "class",
"datatype": "string"
}
]
}
]
}
}
}