-
Notifications
You must be signed in to change notification settings - Fork 12
/
canton-json.lnav.json
54 lines (54 loc) · 1.75 KB
/
canton-json.lnav.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
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"canton_logstash_json": {
"title": "Canton JSON Log",
"url": "https://github.com/logstash/logstash-logback-encoder",
"description": "Canton JSON log files written using logstash.",
"json": true,
"hide-extra": false,
"file-pattern": "\\.clog.*",
"line-format": [ { "field" : "@timestamp" }, " [", { "field" : "thread_name", "max-width" : 20 },"] ", { "field": "level" }, " - ", { "field": "logger_name" }, " (", { "field" : "trace-id", "default-value" : "" }, ") - ", { "field" : "message" },
" ",
{ "field" : "stack_trace", "default-value" : "" }
],
"timestamp-field" : "@timestamp",
"body-field" : "message",
"level-field" : "level",
"level" : {
"trace" : "TRACE",
"debug" : "DEBUG",
"info" : "INFO",
"error" : "ERROR",
"warning" : "WARN"
},
"opid-field" : "trace-id",
"value" : {
"logger_name" : {
"kind" : "string",
"identifier" : true
},
"ipaddress" : {
"kind" : "string",
"identifier" : true
},
"level_value" : {
"hidden": true
},
"stack_trace" : {
"kind" : "string"
},
"trace-id" : {
"kind" : "string",
"identifier" : true
},
"thread_name" : {
"kind" : "string",
"identifier" : true,
"hidden" : true
},
"@version" : {
"hidden" : true
}
}
}
}