Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including elastic-apm-node-logger with all npm packages installed. Try it out:

var elasticApmNodeLogger = require("elastic-apm-node-logger")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

elastic-apm-node-logger v1.1.2

As of 25th Aug 2022, the official `elastic-apm-node` NPM library does not send the STDOUT logs of the nodejs application that it is installed on to back to your designated Elastic Stack, hence this NPM library aims to bridge this gap. it also enables your NodeJS app's APM spans and traces to be correlated with the logs that get sent back by this NPM library.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free