mirror of https://github.com/tstack/lnav
Compare commits
5 Commits
6dd6ec8862
...
8aa84ad143
Author | SHA1 | Date |
---|---|---|
Tim Stack | 8aa84ad143 | 3 weeks ago |
Tim Stack | e732267cfe | 3 weeks ago |
Tim Stack | bf6b64c4ea | 3 weeks ago |
Tim Stack | 11c9952e03 | 3 weeks ago |
Tim Stack | 46b2a9f1ee | 3 weeks ago |
@ -0,0 +1,44 @@
|
||||
{
|
||||
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
||||
"zookeeper_log": {
|
||||
"title": "ZooKeeper log format",
|
||||
"description": "Log format for the ZooKeeper coordination service",
|
||||
"regex": {
|
||||
"std": {
|
||||
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3}) \\[myid:(?<myid>\\d+)?\\] - (?<level>\\w+)\\s+\\[(?<thread>.*):(?<logger>[\\w\\.\\$]+)@(?<line_number>\\d+)\\] - (?<body>.*)"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
"thread": {
|
||||
"kind": "string",
|
||||
"identifier": true
|
||||
},
|
||||
"level": {
|
||||
"kind": "string"
|
||||
},
|
||||
"myid": {
|
||||
"kind": "integer",
|
||||
"identifier": true
|
||||
},
|
||||
"logger": {
|
||||
"kind": "string",
|
||||
"identifier": true
|
||||
},
|
||||
"line_number": {
|
||||
"kind": "integer",
|
||||
"foreign-key": true
|
||||
}
|
||||
},
|
||||
"search-table": {
|
||||
"zk_notifications": {
|
||||
"level": "info",
|
||||
"pattern": "Notification: my state:(?<my_state>\\w+); (?<nvalues>.*)"
|
||||
}
|
||||
},
|
||||
"sample": [
|
||||
{
|
||||
"line": "2024-04-23 09:24:31,484 [myid:] - INFO [WorkerReceiver[myid=3]:o.a.z.s.q.FastLeaderElection$Messenger$WorkerReceiver@391] - Notification: my state:FOLLOWING; n.sid:1, n.state:LOOKING, n.leader:2, n.round:0x1, n.peerEpoch:0x1, n.zxid:0x100000057, message format version:0x2, n.config version:0x0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue