Software /
code /
prosody-modules
Comparison
misc/lnav/prosody.json @ 5676:62c6e17a5e9d
Merge
author | Stephen Paul Weber <singpolyma@singpolyma.net> |
---|---|
date | Mon, 18 Sep 2023 08:24:19 -0500 |
parent | 5497:1be6e375a7c2 |
comparison
equal
deleted
inserted
replaced
5675:eade7ff9f52c | 5676:62c6e17a5e9d |
---|---|
12 "level-field" : "loglevel", | 12 "level-field" : "loglevel", |
13 "multiline" : false, | 13 "multiline" : false, |
14 "ordered-by-time" : true, | 14 "ordered-by-time" : true, |
15 "regex" : { | 15 "regex" : { |
16 "standard" : { | 16 "standard" : { |
17 "pattern" : "^(?<timestamp>\\w{3} \\d{2} \\d{2}:\\d{2}:\\d{2})\\s+(?<loggername>\\S+)\\s+(?<loglevel>debug|info|warn|error)\\s+(?<message>.+)$" | 17 "pattern" : "^(?<timestamp>\\w{3} \\d{2} \\d{2}:\\d{2}:\\d{2}\\s+)(?<loggername>\\S+)\\s+(?<loglevel>debug|info|warn|error)\\s+(?<message>.+)$" |
18 } | 18 } |
19 }, | 19 }, |
20 "sample" : [ | 20 "sample" : [ |
21 { | 21 { |
22 "line" : "Jan 31 11:07:34 c2s565063fff480\tinfo\tClient connected" | 22 "line" : "Jan 31 11:07:34 c2s565063fff480\tinfo\tClient connected" |
23 } | 23 } |
24 ], | 24 ], |
25 "timestamp-field" : "timestamp", | 25 "timestamp-field" : "timestamp", |
26 "timestamp-format" : "%b %d %H:%M:%S ", | 26 "timestamp-format" : [ |
27 "%b %d %H:%M:%S " | |
28 ], | |
27 "title" : "Prosody log", | 29 "title" : "Prosody log", |
28 "url" : "https://prosody.im/doc/logging", | 30 "url" : "https://prosody.im/doc/logging", |
29 "value" : { | 31 "value" : { |
30 "loggername" : { | 32 "loggername" : { |
31 "identifier" : true, | 33 "identifier" : true, |