Replies: 1 comment
-
|
What version are you using? I think there was a bug in v0.9.0 that caused it to complain about the https://github.com/tstack/lnav/releases/tag/v0.10.0-beta1 Note that the timestamp needs to be regex, like the following, instead of the It looks like you'll need to add a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i need support for the following log message format.
I tried to parse it with the following code but i get errors
{ "$schema": "https://lnav.org/schemas/format-v1.schema.json", "example_log" : { "title" : "Server Log", "description" : "Log format used for the Server.", "url" : "", "regex" : { "basic" : { "pattern" : "^(?<timestamp>%d-%m-%Y %H:%M:%S); Level: (?<level>\\w+); Message: (?<body>.*); Location: (?<component>.*)$" } }, "level-field" : "level", "level" : { "error" : "ERROR", "warning" : "WARNING", "info" : "INFO" }, "value" : { "component" : { "kind" : "string", "identifier" : true } }, "sample" : [ { "line" : "28-07-2021 08:31:23; Level: INFO; Message: 127.0.0.1 - - [28/Jul/2021 08:31:23] \"PUT /api/predictv2/1c4c3cccfd2b6369eccd7f1d69a4dd167e63350769ebe96c4ea6c7a9899acab0 HTTP/1.1\" 200 -; Location: _internal._log" } ] } }When i try to install it i get the following message
and when i try to view the log i will get the following message:
Any Ideas?
Thanks in advanced
Fabian
Beta Was this translation helpful? Give feedback.
All reactions