Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "workerlog_log" : {
- "title" : "workerlog log format",
- "description" : "Log format used by workerlog",
- "url" : "http://workerlog",
- "regex" : {
- "debug_line" : {
- "pattern" : "^\\[(?<timestamp>\\d{2}\\/\\d{2}\\/\\d{4} \\d{2}:\\d{2}:\\d{2}) (?<jobserver>[\\w.]+) (?<workqueue>[\\w.]+) (?<processid>\\d+)\\] (?<body>.*)$"
- }
- },
- "value" : {
- "jobserver" : { "kind" : "string", "identifier" : true },
- "workqueue" : { "kind" : "string", "identifier" : true },
- "processid" : { "kind" : "integer", "identifier" : true },
- "body" : { "kind" : "json" }
- },
- "timestamp-format" : [
- "%m/%e/%Y %I:%M:%S"
- ],
- "sample" : [
- {
- "line" : "[03/22/2021 02:00:02 job1074.example.com db.db81.example_events 54026] {\"ELAPSED\":\"0.011\",\"LEVEL\":\"info\",\"MESSAGE\":\"finished in 0.011\\n\",\"PREFIX\":\"YFgyWQriCmsAAofJAAAAHg\",\"ROUTINGKEY\":\"EXAMPLE1366.Example.Events._Publish\"}"
- },
- {
- "line" : "[03/22/2021 02:20:02 job1890.example.com db.db81.example_events 56385] {\"LEVEL\":\"error\",\"MESSAGE\":\"Execution error. Attempting to handle: ASSERTION FAILED: Field(s) SQLID are not defined for a REPORT. at Utils.pm line 222\",\"PREFIX\":\"YFbhP6wcG9MAAO8TAAAMNQ\"}"
- },
- {
- "line" : "[03/22/2021 12:05:49 job1564.example.com publish 65467] {\"RESOURCENAME\":\"db.db67.example_events\",\"SUBJECT\":\"publish\",\"REQUEST\":{\"ID\":\"YFgyWwriCmsAAofJAAAAZA\",\"CLASS\":\"WorkUnit::Message::JobRequest::DB\",\"SENDTIME\":\"1616392802\",\"DESTINATION\":{\"EXCHANGE\":\"check.db.db67.example_events\",\"ROUTINGKEY\":\"EXAMPLE1366.Example.Events._Publish\"},\"SCHEMA\":\"EXAMPLE1366\",\"TYPE\":\"db.db67.Example_events\",\"POOL\":\"EXAMPLE_EVENTS\",\"SERIALIZETIME\":\"1616392795\",\"PARAMETERS\":{\"event_id\":\"961647\"},\"REDIRECTERRORS\":\"1\",\"INSTANCE\":\"DB67\",\"JOB\":\"Example::Events::_Publish\",\"SENDERID\":\"YFgyVwriCmsAAofJZGIAAAAZ\",\"AVAILABILITYFAILURERETRIESREMAINING\":\"3\"},\"LEVEL\":\"info\",\"MESSAGE\":\"n\\/a\",\"PREFIX\":\"YFgyWwriCmsAAofJAAAAZA\"}"
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement