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 400,000 packages pre-installed, including firelog with all npm packages installed. Try it out:

var firelog = require("firelog")

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

firelog v2.0.2

a simple log pkg, send log to elk

Firelog

Build Status Coverage Status License npm Version

a simple log pkg, send log to elasticsearch

Features

  • stream support
  • data loss guard against

Options

  • host, target host
  • port, target port
  • stream(on|off), use stream pipe log

Benchmark

enter benchmark dir, then execute $node bunyan_vs_fire.js

Fire Spend: 847457 op/s
Bunyan Spend: 70521 op/s

Install

$ npm install firelog -g

Test

run test:

$ npm test

run test coverage:

$ npm run cover

Examples

See examples

License

MIT

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