-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlnav_format.json
31 lines (30 loc) · 1012 Bytes
/
lnav_format.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
{
"idata_log": {
"title": "iData Log Format",
"description": "Custom log format for your logs",
"url": "http://idata.com",
"regex": {
"main": {
"pattern": "\\[(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})\\] -- (?<level>\\S*) -- (?<module>\\S*) \\((?<function>\\S*)\\): (?<message>.*)"
}
},
"value": {
"timestamp": { "kind": "string"},
"level": { "kind": "string", "identifier": true},
"module": { "kind": "string", "identifier": true},
"function": {"kind": "string"},
"message": { "kind": "string"}
},
"sample": [
{
"line": "[2023-10-20 22:00:20] -- [DEBUG] -- IDataRequester (post_request): Response status code: 200"
},
{
"line": "[2023-10-20 22:00:20] -- [INFO] -- IDataAppointmentFinder (check_for_specific_date): Gayrettepe: No free time slots on 17-11-2023."
},
{
"line": "[2023-10-20 22:00:41] -- [DEBUG] -- urllib3.connectionpool (_new_conn): Starting new HTTPS connection (1): deu-schengen.idata.com.tr:443"
}
]
}
}