@rduk/logger-winston-logstash-factory
v0.1.1
Published
Logstash transport factory for Winston implementation of RDUK logger
Downloads
5
Maintainers
Readme
RDUK - Logstash transport factory for Winston
this module is a Logstash TCP transport factory for the Winston implementation of RDUK logger
Installation
npm i --save --save-exact @rduk/logger @rduk/logger-winston-provider @rduk/logger-winston-logstash-factory
Configuration
# config.yml (see @rduk/configuration for detail)
---
logger:
default: winston
providers:
-
name: winston
type: '@rduk/logger-winston-provider'
level: debug
factories:
logstash: '@rduk/logger-winston-logstash-factory'
transports:
logstash: # options passed to factory
host: 'example.com'
port: 11111
node_name: myapp
That's it!
License and copyright
See LICENSE file