{"_id":"good-udp","_rev":"24-a36990aa8a0166210b620e53a66cc357","name":"good-udp","description":"UDP broadcasting for Good process monitor","dist-tags":{"latest":"4.1.0"},"versions":{"1.0.0":{"name":"good-udp","version":"1.0.0","repository":{"type":"git","url":"git://github.com/hapijs/good-udp"},"description":"UDP broadcasting for Good process monitor","main":"index.js","scripts":{"test":"make test-cov"},"dependencies":{"good-reporter":"3.x.x","hoek":"2.x.x","json-stringify-safe":"5.x.x"},"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"engines":{"node":">=0.10.x"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"131f45c6b2e80ebb040eaa7c2aa6ff6a5811c2aa","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp","_id":"good-udp@1.0.0","_shasum":"7a2de0e0c6ac3f2cf1be87e1412537a30eb38c2a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lbenson","email":"lbenson@walmartlabs.com"},"maintainers":[{"name":"lbenson","email":"lbenson@walmartlabs.com"}],"dist":{"shasum":"7a2de0e0c6ac3f2cf1be87e1412537a30eb38c2a","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-1.0.0.tgz","integrity":"sha512-wgG2cGSGjQLrTmdm87otFInM5Yfo3lTyFWFNrG17P2zoTPj1j5BhBkwzrVhmwCJQHXa3dQdu/qaHvtlfrmnzcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGb2W4BKWPEci2pq4xq/XUTRTPcS8f3xbL1iZLWLGWdEAiA+zlioXgjd1QnWIrmpLy4PeJ3AetLpfKctNk2CFj/mig=="}]},"directories":{},"deprecated":"good-udp is not mained anymore."},"1.0.1":{"name":"good-udp","version":"1.0.1","repository":{"type":"git","url":"git://github.com/hapijs/good-udp"},"description":"UDP broadcasting for Good process monitor","main":"index.js","scripts":{"test":"make test-cov"},"dependencies":{"good-reporter":"3.x.x","hoek":"2.x.x","json-stringify-safe":"5.x.x"},"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"engines":{"node":">=0.10.x"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"2a570bc4ead3877404412278b3a5c208774441b1","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp","_id":"good-udp@1.0.1","_shasum":"4f70fbe572bca99452cf0445220665606e9bcb45","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"lbenson","email":"lbenson@walmartlabs.com"},{"name":"arb","email":"arbretz@gmail.com"},{"name":"ulrikaugustsson","email":"ulrikaugustsson@gmail.com"}],"dist":{"shasum":"4f70fbe572bca99452cf0445220665606e9bcb45","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-1.0.1.tgz","integrity":"sha512-9NZ7SfDwpFeXGOIRiuBaYIcDz7f/iFHNY5BUYe4u2A1m+mFYeXw9j7ZkLcY/DGNtExZZjYuIxDNU60DucJ1hTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrGSDaxgQogMvko1CHWjlVxdLZIQ9PsV0Rlp6fQiZhtQIhAOp5CuJoUdWJvgwBFlvp7HFxCNDbe8/dPa0g6d6tmADI"}]},"directories":{},"deprecated":"good-udp is not mained anymore."},"2.0.0":{"name":"good-udp","version":"2.0.0","repository":{"type":"git","url":"git://github.com/hapijs/good-udp"},"description":"UDP broadcasting for Good process monitor","main":"index.js","scripts":{"test":"make test-cov"},"dependencies":{"good-reporter":"3.x.x","hoek":"2.x.x","json-stringify-safe":"5.x.x"},"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"engines":{"node":">=0.10.x"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"a61d7d31a190ee97de57d7e9adeacca46a450a78","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp","_id":"good-udp@2.0.0","_shasum":"677f7e68606afe914718dbd56e3d275715ce6c35","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ulrikaugustsson","email":"ulrikaugustsson@gmail.com"},"maintainers":[{"name":"lbenson","email":"lbenson@walmartlabs.com"},{"name":"arb","email":"arbretz@gmail.com"},{"name":"ulrikaugustsson","email":"ulrikaugustsson@gmail.com"}],"dist":{"shasum":"677f7e68606afe914718dbd56e3d275715ce6c35","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-2.0.0.tgz","integrity":"sha512-pbgjxQWd3Tisi3/D1Eo/PHuwmK3XKdOHYm0wi1ewj1RdamBbWQEYWVYGuOHlBmuIJk1vXg+yOgHcbvg1kPCBNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXoGP5pqDq+R6Hd9M9g10LH6Bchho3p8N+EJBLS5hgEQIhAOTT0q6mQcTN5NkbU8899xI2qhUTfXA3ZMuTAIF8UrA2"}]},"directories":{},"deprecated":"good-udp is not mained anymore."},"2.1.0":{"name":"good-udp","version":"2.1.0","repository":{"type":"git","url":"git://github.com/hapijs/good-udp"},"description":"UDP broadcasting for Good process monitor","main":"index.js","scripts":{"test":"make test-cov"},"dependencies":{"good-reporter":"3.x.x","hoek":"2.x.x","json-stringify-safe":"5.x.x"},"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"engines":{"node":">=0.10.x"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"4c5c98d62c8a8dd4751e19db87c45a984486a1b2","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp","_id":"good-udp@2.1.0","_shasum":"9465c93cae4a479854ddb9a70b0a80b055cd80f9","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ulrikaugustsson","email":"ulrikaugustsson@gmail.com"},"maintainers":[{"name":"lbenson","email":"lbenson@walmartlabs.com"},{"name":"arb","email":"arbretz@gmail.com"},{"name":"ulrikaugustsson","email":"ulrikaugustsson@gmail.com"}],"dist":{"shasum":"9465c93cae4a479854ddb9a70b0a80b055cd80f9","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-2.1.0.tgz","integrity":"sha512-tSCiA353tqzkNjKkPED24HTyQvs7N3cGJUnW1XQYy+C0FWgGToma+8fFDR+uW32moTPKXvt+wBuFr8TrMFneIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFljC2P88Zj4MCG+f0s93H7DE9AIUChw7m1YM08YIkSgIhAPM9DZ9buHwaDDIEtQlrR34gc5dt6vWi1gMSRSsXSqhk"}]},"directories":{},"deprecated":"good-udp is not mained anymore."},"3.0.0":{"name":"good-udp","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/good-udp"},"description":"UDP broadcasting for Good process monitor","main":"index.js","scripts":{"test":"make test-cov"},"dependencies":{"good-squeeze":"2.x.x","hoek":"2.x.x","json-stringify-safe":"5.x.x","lodash.groupby":"3.x.x"},"peerDependencies":{"good":">= 6.x.x"},"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"engines":{"node":">=0.10.x"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"e90e012dd1d88b2862c8b3868b8f310a99619c4f","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp","_id":"good-udp@3.0.0","_shasum":"544e6f90a714689a4d20dd520301cc1c70e61cd5","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"lbenson","email":"lbenson@walmartlabs.com"},{"name":"arb","email":"arbretz@gmail.com"},{"name":"ulrikaugustsson","email":"ulrikaugustsson@gmail.com"}],"dist":{"shasum":"544e6f90a714689a4d20dd520301cc1c70e61cd5","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-3.0.0.tgz","integrity":"sha512-A0AHaKkGONIge/My7QcmNDOc5k0lyPhu23TNS2Tw0h6Abw4z6J9tTMakP9gOOlLmVPo9yQ2dQTvInF4tsKy2oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyKHJ/G4YOg2471BusDIlnriC8Cnx82tS9FUlVjSOqnQIhAKTfVN+lhtfeoTXl0UubTIplCv0BjlCxWIq7eAvIb55I"}]},"directories":{},"deprecated":"good-udp is not mained anymore."},"4.0.0":{"name":"good-udp","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/good-udp.git"},"description":"UDP broadcasting for Good process monitor","main":"lib/index.js","scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"dependencies":{"fast-safe-stringify":"1.0.9"},"devDependencies":{"lab":"10.x.x","code":"3.x.x"},"engines":{"node":">=4.0.0"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"f370e53a5ec7a91b2500319ab3a2473f76038072","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp#readme","_id":"good-udp@4.0.0","_shasum":"ad20b2e5e83f5af1ade54608df616e245862bb19","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"vdeturckheim","email":"vladimir@de-turckheim.fr"},"dist":{"shasum":"ad20b2e5e83f5af1ade54608df616e245862bb19","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-4.0.0.tgz","integrity":"sha512-dHaty8udkBBKSa0sANIAEoLHIGp9wYIuR1xOH5K/CXw+C2JlFQz9NBVHSIHlwR7WsdRxw+BRCon85tHcyuUMlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1nmV/mxaNOsNkiCaLqMe3Yo6ZEenKh5ADVmAks9hWnAiEAxlomgJQvaP50HaVjjQ6e4bscp3NgsRcz1ccu/EP7IaI="}]},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"lloydbenson","email":"lloyd.benson@gmail.com"},{"name":"vdeturckheim","email":"vladimir@de-turckheim.fr"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/good-udp-4.0.0.tgz_1466851198138_0.45105492416769266"},"directories":{},"deprecated":"good-udp is not mained anymore."},"4.1.0":{"name":"good-udp","version":"4.1.0","repository":{"type":"git","url":"git://github.com/hapijs/good-udp.git"},"description":"UDP broadcasting for Good process monitor","main":"lib/index.js","scripts":{"test":"lab -r console -t 100 -a code -L","test-cov-html":"lab -r html -o coverage.html -a code -L"},"dependencies":{"fast-safe-stringify":"1.2.0"},"devDependencies":{"lab":"14.x.x","code":"4.x.x"},"engines":{"node":">=4.0.0"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/good-udp/raw/master/LICENSE"}],"gitHead":"2e0c91fcd32924700b01ef32799bf5cafb42e63c","bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"homepage":"https://github.com/hapijs/good-udp#readme","_id":"good-udp@4.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"vdeturckheim","email":"vladimir@de-turckheim.fr"},"dist":{"integrity":"sha512-NvoQt5yDLZVI+4hjKpo4X4Xq0Zke5u1fDi2vlCYJM7+odQJa+124WWPl//3N74Z1ARz0mLEDPvHTn0tXelk7og==","shasum":"b462c7ca30696a795c88e0017a6622fb553e2007","tarball":"https://registry.npmjs.org/good-udp/-/good-udp-4.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi/6incMUMBRI9cVXjz7y58F+kRxxGkO+s0BP7lJanQAIgQjVPuvCGZzzUqUKmfgqcWnnAtW0oqGcgi9GJoh02QAc="}]},"maintainers":[{"email":"vladimir@de-turckheim.fr","name":"vdeturckheim"},{"email":"lloyd.benson@gmail.com","name":"lloydbenson"},{"email":"arbretz@gmail.com","name":"arb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/good-udp-4.1.0.tgz_1504715631746_0.30194564815610647"},"directories":{},"deprecated":"good-udp is not mained anymore."}},"readme":"# good-udp\n\nUdp broadcasting for Good process monitor\n\nThe versions 4 of this module can be used with Good 7.\n\nFor use with previous versions of Good, please refer to [older versions](https://github.com/hapijs/good-udp/releases).\n\n[![Build Status](https://travis-ci.org/hapijs/good-udp.svg?branch=master)](https://travis-ci.org/hapijs/good-udp) ![Current Version](https://img.shields.io/npm/v/good-udp.svg)\n\nLead Maintainer: [Vladimir de Turckheim](https://github.com/vdeturckheim)\n\n## Usage\n\n`good-udp` is a write stream use to send event to remote endpoints in batches. It makes a request with a JSON payload to the supplied `endpoint`. It will make a final request to the endpoint to flush the rest of the data on \"finish\".\n\n### Note\n`good-udp` will never close the udp client.\n\n## Good Udp\n### GoodUdp (endpoint, config)\n\ncreates a new GoodUdp object with the following arguments\n- `endpoint` - full path to remote server to transmit logs.\n- `config` - configuration object\n\t- `[threshold]` - number of events to hold before transmission. Defaults to `20`. Set to `0` to have every event start transmission instantly. It is strongly suggested to have a set threshold to make data transmission more efficient.\n\t- `[udpType]` - a string with the type of udp you want to use. Valid options are udp4 or udp6. Defaults to `'udp4'`.\n\nWhen `stream` emits an \"end\" event, `goodudp` will transmit any events remaining it it's internal buffer to attempt to prevent data loss.\n\n### Schema\nEach request will match the following schema. Every event will be wrapped inside the `events` key and grouped by the event type and ordered by the timestamp. The payload that is sent to the `endpoint` has the following schema:\n\n```json\n{\n  \"host\":\"servername.home\",\n  \"schema\":\"good-upd\",\n  \"timeStamp\":1412710565121,\n  \"events\":[\n      {\n        \"event\":\"request\",\n        \"timestamp\":1413464014739,\n        ...\n      },\n      {\n        \"event\":\"request\",\n        \"timestamp\":1414221317758,\n        ...\n      },\n      {\n        \"event\":\"request\",\n        \"timestamp\":1415088216608,\n        ...\n      }\n      {\n        \"event\":\"log\",\n        \"timestamp\":1415180913160,\n        ...\n      },\n      {\n        \"event\":\"log\",\n        \"timestamp\":1422493874390,\n        ...\n      }\n  ]\n}\n```\n","maintainers":[{"email":"arbretz@gmail.com","name":"arb"},{"email":"lloyd.benson@gmail.com","name":"lloydbenson"},{"email":"vladimir@de-turckheim.fr","name":"vdeturckheim"}],"time":{"modified":"2022-06-18T13:22:02.102Z","created":"2014-11-18T20:49:35.550Z","1.0.0":"2014-11-18T20:49:35.550Z","1.0.1":"2014-11-21T16:01:39.360Z","2.0.0":"2014-12-05T21:32:14.458Z","2.1.0":"2015-01-11T08:47:10.867Z","3.0.0":"2015-04-07T16:38:51.011Z","4.0.0":"2016-06-25T10:40:00.730Z","4.1.0":"2017-09-06T16:33:52.606Z"},"homepage":"https://github.com/hapijs/good-udp#readme","repository":{"type":"git","url":"git://github.com/hapijs/good-udp.git"},"bugs":{"url":"https://github.com/hapijs/good-udp/issues"},"readmeFilename":"README.md","users":{"lbenson":true}}