...
|
...
|
@@ -7,7 +7,7 @@ function slowRouter(m) { |
|
|
hostname: _.get(m, 'tags.hostname', ''),
|
|
|
preqid: _.get(m, 'fields.preqid', '').replace(/"/g, ''),
|
|
|
reqid: _.get(m, 'fields.reqID', '').replace(/"/g, ''),
|
|
|
uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '')),
|
|
|
uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '') || '0'),
|
|
|
udid: _.get(m, 'fields.udid', '').replace(/"/g, ''),
|
|
|
api: _.get(m, 'tags.api', ''),
|
|
|
route: _.get(m, 'tags.route', ''),
|
...
|
...
|
@@ -24,12 +24,12 @@ function errorRouter(m) { |
|
|
hostname: _.get(m, 'tags.hostname', ''),
|
|
|
preqid: _.get(m, 'fields.preqid', '').replace(/"/g, ''),
|
|
|
reqid: _.get(m, 'fields.reqID', '').replace(/"/g, ''),
|
|
|
uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '')),
|
|
|
uid: parseInt(_.get(m, 'fields.uid', '0').replace(/"/g, '') || '0'),
|
|
|
udid: _.get(m, 'fields.udid', '').replace(/"/g, ''),
|
|
|
route: _.get(m, 'tags.route', ''),
|
|
|
code: _.get(m, 'tags.code', ''),
|
|
|
line: parseInt(_.get(m, 'fields.line', '0').replace(/"/g, '')),
|
|
|
column: parseInt(_.get(m, 'fields.column', '0').replace(/"/g, '')),
|
|
|
line: parseInt(_.get(m, 'fields.line', '0').replace(/"/g, '') || '0'),
|
|
|
column: parseInt(_.get(m, 'fields.column', '0').replace(/"/g, '') || '0'),
|
|
|
script: _.get(m, 'fields.script', ''),
|
|
|
message: _.get(m, 'fields.message', ''),
|
|
|
stack: _.get(m, 'fields.stack', ''),
|
...
|
...
|
|