Skip to content

Commit

Permalink
Added timezone offset regex
Browse files Browse the repository at this point in the history
  • Loading branch information
hagfelsh authored Jul 26, 2019
1 parent 26c8655 commit 81aff2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vc_lookupserver.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "",
"regex": {
"std": {
"pattern" : "^\\[(?<level>\\w+(\\s+)?)\\]\\[(?<timestamp>\\d{4}\\-\\d{2}\\-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z)\\]\\[\\]\\s+(?<reporter>\\w+) \\- (?<body>.*)$"
"pattern" : "^\\[(?<level>\\w+(\\s+)?)\\]\\[(?<timestamp>\\d{4}\\-\\d{2}\\-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}(?:Z|\\-\\d{2}:\\d{2}))\\]\\[\\]\\s+(?<reporter>\\w+) \\- (?<body>.*)$"
}
},
"level-field": "level",
Expand Down

0 comments on commit 81aff2a

Please sign in to comment.