Created
December 11, 2018 02:33
-
-
Save zzh8829/8de3ac79f8cf0583c711322e662e464a to your computer and use it in GitHub Desktop.
Bebo lnav
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bebo_log": { | |
"title": "Bebo Log", | |
"regex": { | |
"basic": { | |
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{6}\\+00:00) (?<hostname>[a-z0-9\\-\\.]+) (?<procname>.+): (?<level>debug|info|warning|error|DEBUG|INFO|WARNING|ERROR) \\[(?<source_file>.+?)\\] (?<body>.*)$" | |
} | |
}, | |
"level": { | |
"debug": "debug|DEBUG", | |
"info": "info|INFO", | |
"warning": "warning|WARNING", | |
"error": "error|ERROR" | |
}, | |
"value": { | |
"hostname": { | |
"kind": "string", | |
"collate": "ipaddress", | |
"identifier": true | |
}, | |
"procname": { | |
"kind": "string", | |
"identifier": true | |
}, | |
"level": { | |
"kind": "string", | |
"identifier": true | |
}, | |
"source_file": { | |
"kind": "string", | |
"identifier": true | |
} | |
}, | |
"sample": [ | |
{ | |
"line": "2018-12-10T22:23:39.960535+00:00 usw1-zz-000.aws.bebo-dev.com tinder[3930]: debug [tinder/sqs_worker.js:45:14] [Worker3930] receiveMessageResponse -- took: 20023ms" | |
}, | |
{ | |
"line": "2018-12-10T22:25:55.684852+00:00 usw11531300511-bran-00009134368184 bran[1]: INFO [Thread-91728:session.py:251] timeout_check passed -- had frame" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment