{"_id":"@bwbr/winston-loggly","_rev":"2-baf4fd894ce61cf534da37c1e167be55","name":"@bwbr/winston-loggly","dist-tags":{"latest":"3.0.0-beta.1"},"versions":{"3.0.1-beta.0":{"name":"@bwbr/winston-loggly","version":"3.0.1-beta.0","description":"A Loggly transport for winston","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/indexzero/winston-loggly.git"},"keywords":["logging","sysadmin","tools"],"dependencies":{"loggly":"~1.1.0"},"devDependencies":{"winston":"1.0.x","vows":"0.8.0"},"main":"./lib/winston-loggly","scripts":{"test":"vows --spec"},"engines":{"node":">= 0.8.0"},"gitHead":"066d542a636570c14d0722959ce8eff138623edf","bugs":{"url":"https://github.com/indexzero/winston-loggly/issues"},"homepage":"https://github.com/indexzero/winston-loggly#readme","_id":"@bwbr/winston-loggly@3.0.1-beta.0","_nodeVersion":"8.12.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-utv7COt9/3r2518Gvvi4J8hKos5g0Qj6fRREy4UtWa/2TjT4igDbEmrxn/8ygBbZMk4lcmELqD43yMf0LeBspw==","shasum":"283e87226855d94c35451684b5ce0993b7a02765","tarball":"https://registry.npmjs.org/@bwbr/winston-loggly/-/winston-loggly-3.0.1-beta.0.tgz","fileCount":6,"unpackedSize":13513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbXv1CRA9TVsSAnZWagAAKGEP/14qH7/GXtYblnyTUrPq\nGT9Edv7El1+b1/RG198iljumZQv2+Fh0EF7OBeVe1/B8yJuH2OS5nu4JUYrA\naqEnH7PiXaSFxHsj3f/6PoW3Dj8oWX7MMUOWYts9IEDnHtrP4cCCnvKph0wE\nu3Es9RtP5W1bPTcRoFgM4/A+XHfYjmoEmtGX4ifiq1qh/hNVlwADVeeatHZL\n88nOqRudaahKq84XRMexKVPktoj5VN6MHJ2YhSdj62uAGttj19slOolP7K7B\n0rZbX7ghVxQpaw96qJTYoXdRkCy5+D6CPIhH6CCF7lLDGXDI+DVLk7GKtk9w\nprCfJsqiepkv6aVE3DReGR0O4L60JwLpU+ovMG+li8fFGmww9K5/R7+1afsH\nLi+eZFADBoUukoBBctiC+JJm6mOHB8/j+9p/NlztIY/B6AYq0Lqt2Ap2xVJJ\nNi4VKGq7uBJjD2PMp3UfheuhH7X2K+0luoLbd2RpSVQPlqeSnO02uGJhb8VK\neiCvB7nvB1Jr+XP/khMXwCgD/Lsm0EEU8TIXpW+S+sU7TdNutYbbwVLbBboq\nsX5kr78r2Os3dPF8y3uxAv5+BTb3oJeAxDmIQPkjLHh0bI+K4eu334LfX2iP\nuovf5YvWUFzOZWEnQeI7Bpmfq4MRUrCAkZFUO4rltzm20x99VowG1mimJ4Zj\ndBEO\r\n=2PIM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCofkoikKAG41hznjUI9kAbqCj/nGtxJS6ZzSCahylK1wIgBfzlo/JlZcbVOz00di3gdo+ni2W8jJ82zxeynTP7Cl4="}]},"maintainers":[{"name":"heatbrr","email":"zinogabriel@gmail.com"}],"_npmUser":{"name":"heatbrr","email":"zinogabriel@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/winston-loggly_3.0.1-beta.0_1550679028764_0.08682492129153996"},"_hasShrinkwrap":false},"3.0.0-beta.1":{"name":"@bwbr/winston-loggly","version":"3.0.0-beta.1","description":"A Loggly transport for winston","author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/indexzero/winston-loggly.git"},"keywords":["logging","sysadmin","tools","winston"],"dependencies":{"logform":"^2.1.2","loggly":"~1.1.0","triple-beam":"^1.3.0","@types/loggly":"^1.1.30","winston-transport":"^4.3.0"},"devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.9.4","@types/sinon":"^7.0.6","chai":"^4.2.0","mocha":"^5.2.0","nyc":"^13.3.0","sinon":"^7.2.3","ts-node":"^8.0.2","typescript":"^3.3.3","winston":"^3.2.0"},"main":"./dist/winston-loggly","types":"./dist/winston-loggly.d.ts","scripts":{"build":"tsc","test":"mocha -r ts-node/register test/**/*.ts --report spec"},"engines":{"node":">= 0.8.0"},"gitHead":"58efbb186c693865d21ee33a1d6d937cc4846908","bugs":{"url":"https://github.com/indexzero/winston-loggly/issues"},"homepage":"https://github.com/indexzero/winston-loggly#readme","_id":"@bwbr/winston-loggly@3.0.0-beta.1","_nodeVersion":"8.12.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-xeVFfaqoLmWLPLS/Cbabkjxm6QgpXrkYfqbUwtXnTZzkj2v2pkiWzg9I2DjVGMs5Hu4U8d2YpZSD2Usn0PpKDg==","shasum":"fcfa91e59413457748ce70dd4b13ac308cdb9af7","tarball":"https://registry.npmjs.org/@bwbr/winston-loggly/-/winston-loggly-3.0.0-beta.1.tgz","fileCount":13,"unpackedSize":42226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbX4nCRA9TVsSAnZWagAAirMP/3yn9qbI4AwaCwe6n6ew\n1SozewepdzG405oFnKPn6YQFi4P6kEhmAJZAvP1vdj2EceFFr9V0EyZFN4uv\nFCmJFGYfTlRxqavRBz5b0XRYaadaB0ykMceny9eu6BZvOsbQe39AE5SJjg7n\n6rK2wPs+Rjs91y2K1BYUKHUJu9KdmeOcO/PqCrihXQs4K4ODBnVS5TJuMoDS\nCuWhkHPZ6D4VVqHFAjCZjnJFyHO4NEMblaCo0IFzqEf/WQtlVMh2+EtHo4jm\nSW38zfJSoW7E+Tn1oAgUCmZXHRguNPw5fhtamh49kaI+FflFxJQkNMg0L7gG\nHjNRip3MSe2qmtSVGV089l3EZA8rAIE6ffJOrwCUcCoG0TPM1ZLwWs75tDix\nPV3MOsihpTPGKQJMUajvONAW0lfq6E/s4MxJknsxlmXCl/GQ7uW740/B+Izc\nvJcYFCLuOQsbnQC9QdK2hSv0iqK0yzI1y5DgZzaPNNNaDDpjq0zNQIzQQoh+\n2tKscyG9+Fcgtziq52xqr8urH+OaeTPFG1yD/L3aqNEq5onIkyL3M5JCSV68\nfc4vwcoFC1FwQ9ZRgZbu0ruFBnOHAFprLKuHCCDoBleE8/IStH+CSKYJZ1+y\nH+diMZNqOOPajD+rvbs0JvFCi85zT1GU/QNfKQTZrCLEPUECpLZEK0prt3Hv\noUqy\r\n=PFx2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjmutGoHEYJTy4ZpXdKzQl1U5hpE9IB6MaTufu1P/yIQIgZLDSDBUipIGc4pGVlirfxosXyXqXcf+ch1eT2TVTHv8="}]},"maintainers":[{"name":"heatbrr","email":"zinogabriel@gmail.com"}],"_npmUser":{"name":"heatbrr","email":"zinogabriel@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/winston-loggly_3.0.0-beta.1_1550679590802_0.09149636901522684"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-20T16:10:28.586Z","3.0.1-beta.0":"2019-02-20T16:10:28.870Z","modified":"2022-04-04T21:17:24.883Z","3.0.0-beta.1":"2019-02-20T16:19:50.957Z"},"maintainers":[{"name":"heatbrr","email":"zinogabriel@gmail.com"}],"description":"A Loggly transport for winston","homepage":"https://github.com/indexzero/winston-loggly#readme","keywords":["logging","sysadmin","tools","winston"],"repository":{"type":"git","url":"git+ssh://git@github.com/indexzero/winston-loggly.git"},"author":{"name":"Charlie Robbins","email":"charlie.robbins@gmail.com"},"bugs":{"url":"https://github.com/indexzero/winston-loggly/issues"},"readme":"# winston-loggly\n\nA [Loggly][0] transport for [winston][1].\n\n## Usage\n``` js\n  var winston = require('winston');\n\n  //\n  // Requiring `winston-loggly` will expose\n  // `winston.transports.Loggly`\n  //\n  require('winston-loggly');\n\n  winston.add(winston.transports.Loggly, options);\n```\n\nThe Loggly transport is based on [Nodejitsu's][2] [node-loggly][3] implementation of the [Loggly][0] API. If you haven't heard of Loggly before, you should probably read their [value proposition][4]. The Loggly transport takes the following options. Either 'inputToken' or 'inputName' is required:\n\n* __level:__ Level of messages that this transport should log.\n* __subdomain:__ The subdomain of your Loggly account. *[required]*\n* __auth__: The authentication information for your Loggly account. *[required with inputName]*\n* __inputName:__ The name of the input this instance should log to.\n* __inputToken:__ The input token of the input this instance should log to.\n* __json:__ If true, messages will be sent to Loggly as JSON.\n* __tags:__ An array of tags to send to loggly.\n* __isBulk:__ If true, sends messages using bulk url\n* __stripColors:__ Strip color codes from the logs before sending\n\n\n*Metadata:* Logged in suggested [Loggly format][5]\n\n## Motivation\n`tldr;?`: To break the [winston][1] codebase into small modules that work together.\n\nThe [winston][1] codebase has been growing significantly with contributions and other logging transports. This is **awesome**. However, taking a ton of additional dependencies just to do something simple like logging to the Console and a File is overkill.\n\n## Installation\n\n### Installing npm (node package manager)\n\n``` bash\n  $ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing winston-loggly\n\n``` bash\n  $ npm install winston\n  $ npm install winston-loggly\n```\n\n## Run Tests\nAll of the winston tests are written in [vows][6], and cover all of the use cases described above. You will need to add valid credentials for the various transports included to test/config.json before running tests:\n\n``` js\n  {\n    \"transports\": {\n      \"loggly\": {\n        \"subdomain\": \"your-subdomain\",\n        \"inputToken\": \"really-long-token-you-got-from-loggly\",\n        \"auth\": {\n          \"username\": \"your-username\",\n          \"password\": \"your-password\"\n        }\n      }\n    }\n  }\n```\n\nOnce you have valid configuration and credentials you can run tests with [npm][7]:\n\n```\n  npm test\n```\n\n#### Author: [Charlie Robbins](http://blog.nodejitsu.com)\n#### License: MIT\n\n[0]: http://loggly.com\n[1]: https://github.com/flatiron/winston\n[2]: http://nodejitsu.com\n[3]: https://github.com/nodejitsu/node-loggly\n[4]: http://www.loggly.com/product/\n[5]: http://www.loggly.com/docs/automated-parsing/\n[6]: http://vowsjs.org\n[7]: http://npmjs.org\n","readmeFilename":"README.md"}