{"_id":"ovh-winston-ldp","_rev":"33-5fd361b1ad6249ab96621ca053181d69","name":"ovh-winston-ldp","dist-tags":{"latest":"0.3.3"},"versions":{"0.3.0":{"name":"ovh-winston-ldp","version":"0.3.0","keywords":["logging","sysadmin","tools","winston","graylog2","gelf"],"author":{"name":"Pierre De Paepe","email":"pierre.de-paepe@corp.ovh.com"},"license":"BSD-3-Clause","_id":"ovh-winston-ldp@0.3.0","maintainers":[{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"}],"contributors":[{"name":"Pierre De Paepe","email":"pdepaepe@oxalya.com"},{"name":"Cyrille Meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"Cyril Biencourt","email":"cyril.biencourt@corp.ovh.com"},{"name":"Kévin Bonduelle","email":"kevin.bonduelle@corp.ovh.com"}],"homepage":"https://github.com/ovh/ovh-winston-ldp#readme","bugs":{"url":"https://github.com/ovh/ovh-winston-ldp/issues"},"dist":{"shasum":"b2ff5272fcab3f0e4618646593ff741ffb3662c0","tarball":"https://registry.npmjs.org/ovh-winston-ldp/-/ovh-winston-ldp-0.3.0.tgz","integrity":"sha512-0sgXq2sQLHoaxotkrtpev8KUt9LnofeSsl4PkHGlVQf0OGd7BwQdK/pMttkkXe9obCSMXs+WBChAWbKrfMTQ5g==","signatures":[{"sig":"MEYCIQDzliuBcsEDPgVxfWflv0lb/vA8LlieTMfH2Q+t6H50iwIhAMgXjrowtnwGgttqw1LWI5AVPZUF0cTnA2gr/3MxFFOV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/ovh-winston-ldp","_from":".","_shasum":"b2ff5272fcab3f0e4618646593ff741ffb3662c0","engines":{"node":">= 6.0.0"},"gitHead":"4648045d0943273191cfc17f89719738c6f1b52b","scripts":{"lint":"jscs lib && jshint lib && jscs test && jshint test","test":"mocha"},"_npmUser":{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh/ovh-winston-ldp.git","type":"git"},"_npmVersion":"4.1.2","description":"A OVH Logs Data Platform TCP/TLS transport for winston","directories":{},"_nodeVersion":"7.7.1","dependencies":{"winston":"~1.0.0"},"devDependencies":{"chai":"3.5.0","jscs":"*","mocha":"2.2.5","jshint":"2.8.0"},"_npmOperationalInternal":{"tmp":"tmp/ovh-winston-ldp-0.3.0.tgz_1493190888833_0.011890433263033628","host":"packages-12-west.internal.npmjs.com"}},"0.3.1":{"name":"ovh-winston-ldp","version":"0.3.1","keywords":["logging","sysadmin","tools","winston","graylog2","gelf"],"author":{"name":"Pierre De Paepe","email":"pierre.de-paepe@corp.ovh.com"},"license":"BSD-3-Clause","_id":"ovh-winston-ldp@0.3.1","maintainers":[{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"}],"contributors":[{"name":"Pierre De Paepe","email":"pdepaepe@oxalya.com"},{"name":"Cyrille Meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"Cyril Biencourt","email":"cyril.biencourt@corp.ovh.com"},{"name":"Kévin Bonduelle","email":"kevin.bonduelle@corp.ovh.com"}],"homepage":"https://github.com/ovh/ovh-winston-ldp#readme","bugs":{"url":"https://github.com/ovh/ovh-winston-ldp/issues"},"dist":{"shasum":"9a5cc3df08b150b5221dc97fb71d0e47a28fa1f4","tarball":"https://registry.npmjs.org/ovh-winston-ldp/-/ovh-winston-ldp-0.3.1.tgz","integrity":"sha512-zr/D1ttdswfbzG9FT5mAkGrn7XTIZcxAWpHMg4qJVAxSgYIwKnjhu91TpiLPGkytxIcvSEBG5zwFigtAGH9LJQ==","signatures":[{"sig":"MEYCIQCbQIoDjo9SRg4946zhiMu+g5eio9Lfgc6cPu4Lu12XDgIhAMejiTyNa5DrU3hbR5n92xcrzHQcNYu3TDhCwQSIas58","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/ovh-winston-ldp","_from":".","_shasum":"9a5cc3df08b150b5221dc97fb71d0e47a28fa1f4","engines":{"node":">= 6.0.0"},"gitHead":"88e85208b1e5448d67357813d4eeec8c28bd178f","scripts":{"lint":"jscs lib && jshint lib && jscs test && jshint test","test":"mocha"},"_npmUser":{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh/ovh-winston-ldp.git","type":"git"},"_npmVersion":"4.1.2","description":"A OVH Logs Data Platform TCP/TLS transport for winston","directories":{},"_nodeVersion":"7.7.1","dependencies":{"winston":"~1.0.0"},"devDependencies":{"chai":"3.5.0","jscs":"*","mocha":"2.2.5","jshint":"2.8.0"},"_npmOperationalInternal":{"tmp":"tmp/ovh-winston-ldp-0.3.1.tgz_1493798739222_0.8072977024130523","host":"packages-12-west.internal.npmjs.com"}},"0.3.2":{"name":"ovh-winston-ldp","version":"0.3.2","keywords":["logging","sysadmin","tools","winston","graylog2","gelf"],"author":{"name":"Pierre De Paepe","email":"pierre.de-paepe@corp.ovh.com"},"license":"BSD-3-Clause","_id":"ovh-winston-ldp@0.3.2","maintainers":[{"name":"antleblanc","email":"ant.leblanc@gmail.com"},{"name":"ovh","email":"npm@ovh.net"},{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},{"name":"ovh-ux-cds","email":"kevin.bonduelle+ovh-ux-cds@corp.ovh.com"},{"name":"bnjjj","email":"benjamin.coenen@hotmail.com"},{"name":"jleveugle","email":"joffrey.leveugle@gmail.com"},{"name":"cyrille.meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"gioindahouz","email":"giovanni.clement@gmail.com"},{"name":"lizardk","email":"cyril.biencourt@corp.ovh.com"}],"contributors":[{"name":"Pierre De Paepe","email":"pdepaepe@oxalya.com"},{"name":"Cyrille Meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"Cyril Biencourt","email":"cyril.biencourt@corp.ovh.com"},{"name":"Kévin Bonduelle","email":"kevin.bonduelle@corp.ovh.com"}],"homepage":"https://github.com/ovh/ovh-winston-ldp#readme","bugs":{"url":"https://github.com/ovh/ovh-winston-ldp/issues"},"dist":{"shasum":"a5ad54e52f4765caf2c752e8fd1863afec80388c","tarball":"https://registry.npmjs.org/ovh-winston-ldp/-/ovh-winston-ldp-0.3.2.tgz","integrity":"sha512-wEZeptEfChl7IY/SDI6BAijTQu4WPVxeFe2q9ZdFi+4qVPwPmDnVUNeL95DU5S/JRqzmlZxNdZhEFlRVVCxXqA==","signatures":[{"sig":"MEYCIQCjVy1XBBMVbTlL+GBn45GtYTSuk4I8RrbNeR1O4NHSigIhANc26md2f5xfvmlr9POoWrNxZ9tUhgv455kqyobxprlr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/ovh-winston-ldp","_from":".","_shasum":"a5ad54e52f4765caf2c752e8fd1863afec80388c","engines":{"node":">= 6.0.0"},"gitHead":"3963fe88dc5e4c17fde860c0d3fc9c27f94ec5c2","scripts":{"lint":"jscs lib && jshint lib && jscs test && jshint test","test":"mocha"},"_npmUser":{"name":"ovh-ux-cds","email":"kevin.bonduelle+ovh-ux-cds@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh/ovh-winston-ldp.git","type":"git"},"_npmVersion":"4.1.2","description":"A OVH Logs Data Platform TCP/TLS transport for winston","directories":{},"_nodeVersion":"7.7.1","dependencies":{"winston":"~1.0.0"},"devDependencies":{"chai":"3.5.0","jscs":"*","mocha":"2.2.5","jshint":"2.8.0","chai-spies":"^0.7.1"},"_npmOperationalInternal":{"tmp":"tmp/ovh-winston-ldp-0.3.2.tgz_1500643326082_0.5502548271324486","host":"s3://npm-registry-packages"}},"0.3.3":{"name":"ovh-winston-ldp","version":"0.3.3","keywords":["logging","sysadmin","tools","winston","graylog2","gelf"],"author":{"name":"Pierre De Paepe","email":"pierre.de-paepe@corp.ovh.com"},"license":"BSD-3-Clause","_id":"ovh-winston-ldp@0.3.3","maintainers":[{"name":"antleblanc","email":"ant.leblanc@gmail.com"},{"name":"ovh","email":"npm@ovh.net"},{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},{"name":"neolitec","email":"kev.manson@gmail.com"},{"name":"ovh-ux-cds","email":"kevin.bonduelle+ovh-ux-cds@corp.ovh.com"},{"name":"bnjjj","email":"benjamin.coenen@hotmail.com"},{"name":"jleveugle","email":"joffrey.leveugle@gmail.com"},{"name":"cyrille.meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"gioindahouz","email":"giovanni.clement@gmail.com"},{"name":"lizardk","email":"cyril.biencourt@corp.ovh.com"}],"contributors":[{"name":"Pierre De Paepe","email":"pdepaepe@oxalya.com"},{"name":"Cyrille Meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"Cyril Biencourt","email":"cyril.biencourt@corp.ovh.com"},{"name":"Kévin Bonduelle","email":"kevin.bonduelle@corp.ovh.com"}],"homepage":"https://github.com/ovh/ovh-winston-ldp#readme","bugs":{"url":"https://github.com/ovh/ovh-winston-ldp/issues"},"dist":{"shasum":"fe2e9be0c3495cdc012d4c7db011a663f3cac031","tarball":"https://registry.npmjs.org/ovh-winston-ldp/-/ovh-winston-ldp-0.3.3.tgz","integrity":"sha512-3ijVyrMuPTwBqKKnj9RKJaTYh5EdmMsAru7rV5qkvKrYALizz5CIS18mRhAG51+Qs6N9F55DEdb/eeFNQ7Mh1A==","signatures":[{"sig":"MEUCIHJlSNVNUqw3fmb8St7SsAveWHtpNTqQ0sSBL9YZ4xHFAiEAkFMyAu1Z+9mv8jo0VtTlGTJ44mjBLW8XmRwCe+swt10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/ovh-winston-ldp","_from":".","_shasum":"fe2e9be0c3495cdc012d4c7db011a663f3cac031","engines":{"node":">= 6.0.0"},"gitHead":"fc518c3216581b48def28c2b06bbac827ce53eb1","scripts":{"lint":"jscs lib && jshint lib && jscs test && jshint test","test":"mocha"},"_npmUser":{"name":"ovh-ux-cds","email":"kevin.bonduelle+ovh-ux-cds@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh/ovh-winston-ldp.git","type":"git"},"_npmVersion":"4.1.2","description":"A OVH Logs Data Platform TCP/TLS transport for winston","directories":{},"_nodeVersion":"7.7.1","dependencies":{"winston":"~1.0.0"},"devDependencies":{"chai":"3.5.0","jscs":"*","mocha":"2.2.5","jshint":"2.8.0","chai-spies":"^0.7.1"},"_npmOperationalInternal":{"tmp":"tmp/ovh-winston-ldp-0.3.3.tgz_1506001017928_0.19935207883827388","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-04-26T07:14:50.800Z","modified":"2025-12-18T14:47:06.256Z","0.3.0":"2017-04-26T07:14:50.800Z","0.3.1":"2017-05-03T08:05:41.140Z","0.3.2":"2017-07-21T13:22:07.049Z","0.3.3":"2017-09-21T13:36:59.041Z"},"bugs":{"url":"https://github.com/ovh/ovh-winston-ldp/issues"},"author":{"name":"Pierre De Paepe","email":"pierre.de-paepe@corp.ovh.com"},"license":"BSD-3-Clause","homepage":"https://github.com/ovh/ovh-winston-ldp#readme","keywords":["logging","sysadmin","tools","winston","graylog2","gelf"],"repository":{"url":"git+https://github.com/ovh/ovh-winston-ldp.git","type":"git"},"description":"A OVH Logs Data Platform TCP/TLS transport for winston","contributors":[{"name":"Pierre De Paepe","email":"pdepaepe@oxalya.com"},{"name":"Cyrille Meichel","email":"cyrille.meichel@corp.ovh.com"},{"name":"Cyril Biencourt","email":"cyril.biencourt@corp.ovh.com"},{"name":"Kévin Bonduelle","email":"kevin.bonduelle@corp.ovh.com"}],"maintainers":[{"email":"jean-christophe.alleman@corp.ovh.com","name":"jisay"},{"email":"jean-philippe.blary@corp.ovh.com","name":"blary_jp"},{"email":"ant.leblanc@gmail.com","name":"antleblanc"},{"email":"tech.ux.ext@ovh.com","name":"ovh-ux-cds"},{"email":"cyril.biencourt@corp.ovh.com","name":"lizardk"},{"email":"opensource@ovh.net","name":"ovh"},{"email":"mariejones962@gmail.com","name":"marie-j"},{"email":"anooparveti@gmail.com","name":"anooparveti"},{"email":"helabenkhalfallah@hotmail.fr","name":"helabenkhalfallah"},{"email":"benjamin.coenen@hotmail.com","name":"bnjjj"},{"email":"giovanni.clement@gmail.com","name":"gioindahouz"},{"email":"k.ung@rduk.fr","name":"khuang"},{"email":"joffrey.leveugle@gmail.com","name":"jleveugle"},{"email":"axel.peter@live.com","name":"axelpeter"},{"email":"cyrille.bourgois@gmail.com","name":"cbourgois"}],"readme":"# ovh-winston-ldp\n\nA [graylog2][0] TCP/TLS transport for [winston][1] library\n\n[![NPM](https://nodei.co/npm/ovh-winston-ldp.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/ovh-winston-ldp/)\n\n```javascript\nconst winston = require('winston');\nwinston.add(require('ovh-winston-ldp'), {\n    level: 'debug',\n    graylogOvhTokenValue: \"GRAY_LOG_TOKEN\"\n});\n\nlogger.info(\"Hello world!\");\nlogger.log('warn', 'Test Log Message', {\"anything\": 'This is metadata' });\n```\n\n\n## Installation\n\nWinston-graylog works with NodeJS 6.0.0+.\n\nThe easiest way to install it is to use [yarn](https://yarnpkg.com/en/)\n\n```bash\n$yarn add ovh-winston-ldp\n```\n\n## Usage\n```javascript\n  const winston = require('winston');\n  winston.add(require('ovh-winston-ldp'), options);\n\n```\n\nor\n\n```javascript\nconst OvhWinstonLDP = require('ovh-winston-ldp');\nconst logger = new(winston.Logger)({\n    exitOnError: false,\n    transports: [\n        new(OvhWinstonLDP)(options)\n    ]\n});\n```\n\n## Options\n\n* __name__:  Transport name\n* __level__: Level of messages this transport should log. (default: info)\n* __silent__: Boolean flag indicating whether to suppress output. (default: false)\n* __autoReconnect__: Boolean flag indicating whether to reconnect on error. (default: false)\n* __graylogHost__: your server address (default: localhost)\n* __graylogPort__: your server port (default: 12201)\n* __graylogFlag__: Required on LDP Alpha\n* __graylogOvhTokenKey__: Required on LDP Beta\n* __graylogOvhTokenValue__: Required on LDP Beta\n* __hostname__: the name of this host (default: os.hostname())\n* __facility__: the facility for these log messages (default: \"Node.js\")\n\n\n## Log Levels\nSupported log levels, are the following\n\nWinston Level | Graylog2 level\n---------------|---------------\nemerg          | emergency\nalert          | alert\ncrit           | critical\nerror          | error\nwarning        | warning\nnotice         | notice\ninfo           | info\ndebug          | debug\n\n**All other possibile winston's level, or custom levels, will default to `info`**\n\n[0]: http://www.graylog2.org\n[1]: https://github.com/flatiron/winston\n","readmeFilename":"README.md","users":{"frisouilles":true}}