-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
37 lines (35 loc) · 971 Bytes
/
config.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
{
"documentation": "This file contains the column definition of the log file, allowing the parser to be used with different log files with different columns. Each column definition has to have an index value, that correlates with the position in the log file",
"logConfiguration": {
"date": "0",
"ipv4": "1",
"request": "2",
"status": "3",
"userAgent": "4",
"cpf": "1",
"name": "2",
"salary": "3",
"cnpj": "1",
"businessName": "2",
"businessArea": "3",
"salesId": "1",
"salesItemList": "2",
"salesmanName": "3"
},
"saveLogToDatabase": "true",
"databaseConfiguration": {
"url": "jdbc:mysql://localhost",
"port": "3306",
"database": "logparser",
"user": "root",
"password": "rootroot",
"aditionalParameters": "&rewriteBatchedStatements=true"
},
"simpleDateFormat": "yyyy-MM-dd HH:mm:ss.S",
"batchSize": "10000",
"lineSeparator": "ç",
"parser": "AB",
"salesmanType": "001",
"clientType": "002",
"salesType": "003"
}