Skip to content

Commit

Permalink
lnav: Parse prometheus log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bersace committed Jul 22, 2024
1 parent 9f0b2cb commit e14b68a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/lnav/formats/temboard_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"systemd": {
"pattern": "^(?<component>[.\\w]+): (?<body>.+)$",
"module-format": true
},
"prometheus": {
"pattern": "^ts=(?<timestamp>[^ ]+) caller=.+ level=(?<level>[a-z]{4,}) (?<body>.+)$"
}
},
"value": {
Expand Down

0 comments on commit e14b68a

Please sign in to comment.