Elastic APM hides error message in log

ELK 7.3.1 - NodeJS v12.2 Windows

Since adding APM to our NodeJS application, when an error (unhandled exception) occurs we don't see in the log what it was. APM apparently suppresses the error message (see below with APM off then on) and says it sent the error to APM. Unfortunately we can't see the error in APM either.

How can we stop APM suppressing the error message in the error log?

image

Yeah, I agree this isn't ideal. Wile you can of course go to Elastic APM to view the error, it would be nice if the stack trace was also visible in the logs.

We have an open issue about this which I encourage you to subscribe to: