{"_id":"@apalchys/pino-cloudwatch","_rev":"12-858609f4bed87d52050639d169efb4c3","name":"@apalchys/pino-cloudwatch","dist-tags":{"latest":"0.9.0","beta":"0.9.0-beta.2"},"versions":{"0.8.0":{"name":"@apalchys/pino-cloudwatch","version":"0.8.0","description":"CloudWatch Logs transport for pino","main":"index.js","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/dbhowell/pino-cloudwatch/issues"},"homepage":"https://github.com/dbhowell/pino-cloudwatch#readme","dependencies":{"async":"^3.2.2","aws-sdk":"^2.1021.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.2.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.1.0"},"engines":{"node":">=14"},"gitHead":"792b3cd656941a7faa1c8e2dc090ef303e03e661","_id":"@apalchys/pino-cloudwatch@0.8.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-+4qEnGrLEm4F+dC/IR0Hx39e6qXgF7s2cYAB1hCgOHW/b7BgpFJmlncDsB9eiR1/sSkBjhlCV6iq7aHeC39MaA==","shasum":"cd0f8df80c64149074f5e6343a9685f5cbd077ad","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.0.tgz","fileCount":23,"unpackedSize":20991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwydOCRA9TVsSAnZWagAAFbUP/iYgxkun60LpIQA3TkaR\nj0aoPuVKochmUN1yPYotOflgdTWXDbgzOs2TYFBkLaFfiHnLDZDcnZwtet4G\n2HDlDptTf0R23NUHlqnlRwh4sE3S8TLuiZEsTrEvpwbIMm7zVst92UEV4H22\nbjQEiyBzndVbdDmPcHJdxO/ZfCUttqBBDINurB9Okm0k974dxlads/xlOyNP\nUb+WJfWHhvRt94ldWnV+NcVQWeDfJZWcvlI3cHUx46h0QmF8bqbu4+F20lhm\nz506DX4uvvE3WBXxXs/Ezue6wAPQcTABBMXETdoXIK6Yz/2cavc05VaDgjbr\nHeL53B5RUhC73TkEWUTS5dk1gtP9mdX16FQD410SB+k2mLcwYo7JKxPqCioo\ndzBcv+wpJiuA1XNUGNE88tO7q0c51z7ulqYd2ycvEcc6Bmp0MRXieNprlBdx\naDJS3QW0IX/ygn/05q7BjB8LDAWgt60ke+QbLgBZWYcRsYJyYovoNNNRpqe3\nSEQH7C3vqzo3eOpAZZBzEdqhzzUrPhqo7Ia8XtAStGssRyvfaPDT/+O7Jlqw\ng+j0MmJcmNyqZNE9TCacBdV1o108y/s3okKLLLkhuZktSFbSldWTAP0bMrke\nvAIaYNDqV5uSDKES+vXz3bq3lQ96YQxaiutv6forG5nRkAzvzGqE9T5HlATc\nbGpZ\r\n=yP6W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWvK0AM3PrSg1FWmbXIFM1b3mc9tyN/ecFjmRag3z5uAiEAiNs6wzX+HrHlDlUtQ9CjpUPx26gymiSmea6xHwWAtAI="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.0_1636038178015_0.4827723061277027"},"_hasShrinkwrap":false},"0.8.1":{"name":"@apalchys/pino-cloudwatch","version":"0.8.1","description":"CloudWatch Logs transport for pino","main":"index.js","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/dbhowell/pino-cloudwatch/issues"},"homepage":"https://github.com/dbhowell/pino-cloudwatch#readme","dependencies":{"async":"^3.2.3","aws-sdk":"^2.1058.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.3.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3"},"engines":{"node":">=14"},"types":"./index.d.ts","gitHead":"9d7c6a4b46b50a0af1cbc0a40f60d5ed2c63564b","_id":"@apalchys/pino-cloudwatch@0.8.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Byrf6poiEC8NQih/c11QOng2Fw3M92njd0CQmhyWU9uWH5YbtN+OoZTCFfDROOIZSQ5NxD1cjYryv5ZSNGRZAA==","shasum":"2e58e2dc83b857fafee83d1761f3e5db51fb6366","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.1.tgz","fileCount":24,"unpackedSize":21901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5IDrCRA9TVsSAnZWagAALZQP/RBvfAyzpJD+WmzP4mxb\nx9kMSdSx71QdoRQcFYypPUAuY4gI4Jz0ilupy+ngk0HnxmLXi6O/RPcrqB25\nCbo6yI3x2RcjwFqT8R7IfBfT1ubslbNSwzvSXMjT/ICdDnRpe/i/OsJXtPc1\nCwgYiiKeBDzV48l/yubwheCQKHPT+zyCBbADkg6UIjUD1IuN1JCW5jntagwg\nGVlUZMMeVDuU+zSY+zvvoSu/ZQYCrysCfVqN0NwU2ZAAyz8C7nOGIbfAWZ0J\ncQwxZD9rV+5G8g70szBu387k31yGxkQop71FS2Jx0l+D0CMfvS+XEm1DQGzW\no8nf78b3tsDBgHIE+IsLGrt/rb8NXYBdeAfLsmDS8LcePhx8jbXwzZ/PibMB\nkKYkmzewsSGt6dPBFvVXTtsZjdlhoff7dP6V9h6t5WU1CFXwvBdwwsbMGMOB\nGeKDaYHlm2vfwqrTtnmnp/3hbJapK0H53rpiilARtIrS7iosmywK5MoW1u+l\nF07XSutf35aAWzVReM/x0+4LRDRZxmhC1uWunaC3NZH4HV2OCwZHPc10bRVh\ntU6oe08BgtPWB+e7pyejTqsmt4kTHNdcSkEasKNnqw3l8QF4mGR2J7fx3uOJ\n90qRhtxUv29q/AUhTUx1HWkp/WGrHUtSgFtBFH3S8bMVYrbWiKGe2zO2BGFZ\nNZja\r\n=JI53\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGXWiXMneageGVrfxqUzbpPVT1K1222xtbbzPUO9s3vAiEAyAw0Wcx1E7IoKxOsZiwbHu5+0D9J3Lt443VNwlYQCu0="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.1_1642365163669_0.2677886785689354"},"_hasShrinkwrap":false},"0.8.2":{"name":"@apalchys/pino-cloudwatch","version":"0.8.2","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/dbhowell/pino-cloudwatch/issues"},"homepage":"https://github.com/dbhowell/pino-cloudwatch#readme","dependencies":{"async":"^3.2.3","aws-sdk":"^2.1058.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.3.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3"},"engines":{"node":">=14"},"gitHead":"83fa08d72a979fcfb1477fd549c24292e0d3d194","_id":"@apalchys/pino-cloudwatch@0.8.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-jolbWvCqYj1pT5rCfx3EmKQvshIxttltEB6PJJ5pF3xwznw4vAhcY+Xf0Qw82NN6be3y7ctjHLoU2evWrBZmug==","shasum":"692e5fd34002b3c33a29054e54c2d09e68ee6176","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.2.tgz","fileCount":24,"unpackedSize":21926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5IFoCRA9TVsSAnZWagAAr+MP/0nygjBrK0RoE823e7Wp\nQo5EQ+20Y+oY3W7USgTcu6JQUMJoWp35vktecVQYMLCgrWEioZBUkuYv1iaE\nwckHlIBIJJNYemHjHA5ihUtWZ8gELrxijN3M020sPpaOHW2OHBDuI79KWMn1\niBDBFLmtaVb/cCgrSzKbzd+8cTO5JuGAN/4MwvZox0cG2cvw55TySa8eTccA\nvYx4oSnQmvTOGo1f+gulICk7dcM25nobGKVjnzssLOOe0v2epjtbPl5dw9N3\nQpjohqTPnO2Ds+7sG5AXjwdaioPW5sP6It003bjqGOmu5QpdLHixunH3FUus\nsmNgWq9XU7s+BtlY3lAEzNzvmPzdkfdJneN2XuZ+itOZdWwZMqmXysL0Dklt\nKmvs+IzESBBszxNytCucCMZxdWb+nieyI4iCVmJDHrs38uxsLBzC+PDXk5J5\nPiSWjeypOPSAmHuZBQxh+6Y3YBqo38BkPrFMRXFhQp/kyDKyN/UmLuXGBezQ\nB4w9dWnZqcKBgsDpzbpdOVHRlonP1u3EBoDzm7G3HKVkjg83KlDz5WLw2j0S\nSo0HxW63rNKFYJa6bi2C5f+TG5/kFEoJ1HP7m910bWPCFB8NR2OTVJ3mk+pY\nmavWru2XszhbgVZR0TcF3TX2f3W40rVc+gzmS4dYeuKch8qDYEhE308u6GSM\nsyd7\r\n=rHFz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdlI+rDuuzZUeM/8O347cZpTItElZy2Z/xdPvgcux2vQIgSRjqKSd7JA2AUo0P2xjZtmUbxeTcyX1lfpna9iovYic="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.2_1642365288205_0.21518610754155865"},"_hasShrinkwrap":false},"0.8.3":{"name":"@apalchys/pino-cloudwatch","version":"0.8.3","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/dbhowell/pino-cloudwatch/issues"},"homepage":"https://github.com/dbhowell/pino-cloudwatch#readme","dependencies":{"async":"^3.2.3","aws-sdk":"^2.1058.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.3.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3"},"engines":{"node":">=14"},"gitHead":"1c451dec8eda52379cedfb2a25a34317934a3dec","_id":"@apalchys/pino-cloudwatch@0.8.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-85OX9I3BLICjOFhmyl9/kD6f9Ws2hwi8rWd73jl3lNVtWxFuQ9/as3WlN3yB9rtupC7rJK0dpT8iSKPOLMj80A==","shasum":"d9174a19aa475295be7eba191061fa9d403d9650","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.3.tgz","fileCount":14,"unpackedSize":15396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5IGZCRA9TVsSAnZWagAA6WYP+wbBJDTU5S4P3sUpKS+x\n2wWVBB5fTH83EAMVmMUV+pZo88m1s2flV46jpxwN9of5PQ7JWpFyljJaKNVG\ne2k7vYzVlYJNbuyBBoRHe8GupiOUiSS3iSjo5ef+cAhvoMewswEMTWHcxG5j\nefkw7GCXlD5azXciw5MYQv4dE0IPuLFUqhrgGXzQ41jltBrYU2wAYvbUo2gz\nVvn53gu8kcoUrtzHogEoOmc6ygDqI8jugHt+0IJiZ6kYT7gERDWybRJ3q38N\nvr3SlVy2hDfpn4gGJQRhCqRJ7MGM8BndBDUe97CSwoUL7cDE7XJvdbeykrQP\nPg4nIgh+4IIoxlFKW6S2/Cr+t59vfjmeTiryq/IMz5YyPzD2NSjj1xnD59am\niagcC1lviHR0YkEZ2GFzA74dgwrxVuD/Gue8kNYl4zRDP0xXoCcT+AxZHKd1\nPVnQN7RDGZ9dqWkRwNSwYAIU2alNo2BA2AQhMhTUWOTpj1NbwZSDzi7rV12l\njxhmoY0gGOuQ2kTYfzoK0MA0qKSHJ/CkKC/lPfXMSNfggJAf3l+ZESzQIAsc\n2HNOgKTrzxdX9wmN2VkFI5sEsMeRHAMOaKxHpVXrsQZcjxh/3TYjgt1JZiuf\nMAlMS3ioHyFkuUcvp0RfUTqzKlw4uWHrXS3xuOYm+qyLjRiRX31BproEj1IC\n8wvv\r\n=WJ6Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwH22wIlYxL4Bx2vWaaoDwjwp+uU0O1msdd21U9zz7pAiA7Yp1Lq4fszoQIvrTLkznzW0Vmu+FaLh2sYaiOlPeCcg=="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.3_1642365337415_0.5054282153116532"},"_hasShrinkwrap":false},"0.8.4":{"name":"@apalchys/pino-cloudwatch","version":"0.8.4","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"async":"^3.2.3","aws-sdk":"^2.1058.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.3.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3"},"engines":{"node":">=14"},"gitHead":"514a9726afa4b08bf33254145d797ed122545920","_id":"@apalchys/pino-cloudwatch@0.8.4","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-8u43iZJEt0615GX8HC8JdW/fXZOxL7dSK/rc/XQvvaVuEbSwfI7BnG/GalSm15ZI+fc55TNpsoi6ESUZ5bj7OA==","shasum":"f8a4e81a8ae0d236f0eb080b42bc5a025148698e","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.4.tgz","fileCount":14,"unpackedSize":15495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5IJTCRA9TVsSAnZWagAAO5QQAIErVH/Q/o6y7xCf018J\n4YGEEyKWAKglLCrRDGTTtDF7boHBkJdC/YvhvL1SihsCADcFdTpviqYchPOK\nehTrZI8oe0fDQY0lepxSpR8mKgw3nF8AXVfkRV5A2uhEOQn5vmn9jgzVqcir\n4vOxuNGYImY7d884p8Zf7stsxBnZHHVsN1KyfJQctVW/GHFQkj6R+4Xnubg7\nlxg+T373092mSsQwyL6hmDHrVxAB6nc0IOFqLEo1RE9YHDwMnsRVuw6YQgNQ\nAC0x52kbHe9EiGCsr/21GLSaXicDuHxZ9uM4NhG6E/Dl3DHQY+YGalET9Q3g\njAy36GyPwzOXdgcTc8+Tb2kh36njViidbTTN6jdYS9I8W96ghOWaT4CsOjHd\niiIisusjCJtyXdnVxGv8twjpC1ihjKJrr0AfpnGsHslh8tQfyGvjnaZHTy4U\ng8COeWH2eB7qGPYUyYNEDRy4Tjrql2vbKtfvvvTGfzmi0o0vR84785S/d+ID\nz+xlpnyFB6QlB5gwXChVxgLR/tkSYc1tXhMssPQgGO1Hdv73gXt9oUDcY4+6\n5sE5FjKHhUhmZ96TVdjpCjAWB10DK6ghMXYJCGToI6mLpdWqvEEkLiGBxUPL\n5g/S/QFZ67B0RyS4w7MRliGl0kXsLGbkqKzp254N48fjUcnWRqEzninRo88E\nYrT4\r\n=tmoZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB3pi6XF5W8SsyFLaK6EwrO4oV6oIikrICj5IlUf+kVAiEA4l+MA8E+QhAKxG0e1J1YzJ3Kds+33wXAabIxNnI5AeQ="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.4_1642365523655_0.08626776633445754"},"_hasShrinkwrap":false},"0.8.5":{"name":"@apalchys/pino-cloudwatch","version":"0.8.5","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"async":"^3.2.3","aws-sdk":"^2.1058.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.3.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3"},"engines":{"node":">=14"},"gitHead":"3cdd180f28f3cc56c95eac64b64687abe4fbf847","_id":"@apalchys/pino-cloudwatch@0.8.5","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-fBrIDrCFsQPQPEdkpAn/Z7ZdD88i1hLGkLy853sb6mDEZuSZ8M3qR40DMePLntpuRfcLf4eGa/cwu4Cx8iL9sg==","shasum":"9454f448a81f2234ce20f821fa25fb7c00a5dc8f","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.5.tgz","fileCount":14,"unpackedSize":15506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5IP/CRA9TVsSAnZWagAAPy0P/0ri/sxlU1MmovuepDCb\nE7dSQKIZSmD5gzlBLG7SFEffjw/9CSJNPzkYT9/VahL4meVExzu10EVAIv0b\nmArtP+A/X788rkbHBCYsU0zfl42tLcfgugai+wiowivtEqKaDqCeRhRPzPaE\nIsMh7yCk7E6UwosYfEQC2I9mNKYkG9y5TycJXQ0InV9i/xdZ374pVjlC9hWj\nU38Ei46YOPsyQKcPbrkybGHw6GIVmYQsGXowtFMKaI4ZWDFGJk0hl+qOaCyM\nNpMPvnWGZXEy3nsYWiMeTEp3x5G9UZpkbBdz87moo0qukQToxEEe91C6QAdu\nuuzIh8gR3Q1yPvp+UyGNBIqpqifOaPUz0IdWtVpPpCC0U1L5tlGVWwU499xo\nNylZ9f8emxf8aKrxzk94rf3IQ6r7djYln3VkjMxyoe6y/kiCsEQrSSkU/O1P\nHSA3K5iFsJXuR5nBgbFMKsXVsko9xaJXu1LIVotk6ysPgWzVcqr4yBjrOuIr\ntfsfCagbdw6knUs1/6R037PATIHe8w3RHpCVR3P7xZZdk5IWppWbMLFBz5Qh\nFl3hetDwabGf0ctfzS7WUkOiIfs0CfgU4RythnW1veyGdYjDUkzmAPaGWveF\nmHibmk0psNMnAYcN9fLvbd9VgoU6lbz7pBFjiEOopS/luzVefGMtpnZv3z3T\nY/IM\r\n=ONsf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG71Ud32ls+6t5w8s4QJvBasNbLeETWUa/eAMChnUTYqAiBjU0nP947u0Wsz8FwGccLFzLGqtAxLy+0SuQnWwW8C9g=="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.5_1642365951453_0.22256809798224686"},"_hasShrinkwrap":false},"0.8.6":{"name":"@apalchys/pino-cloudwatch","version":"0.8.6","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"async":"^3.2.3","aws-sdk":"^2.1058.0","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.1.0","yargs":"^17.3.1"},"devDependencies":{"chai":"^4.3.4","eslint":"^8.1.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3"},"engines":{"node":">=14"},"gitHead":"3cdd180f28f3cc56c95eac64b64687abe4fbf847","_id":"@apalchys/pino-cloudwatch@0.8.6","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-bN65uTiWR+7co+ka3zSyiCklIFBuUKCc/A89fAbZNg0hR0HkNcH78/SEeIVp9BbbxrFmarv8K0U8hUSw8d1Kig==","shasum":"a79bff7d34ab6bb29def71e6f91c05fc7e9549a0","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.8.6.tgz","fileCount":14,"unpackedSize":15552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5IuJCRA9TVsSAnZWagAAqssP+QB24k5E+vXBJZlIUSP8\nb5BL8yoLlBK9y5dIB8DM5BosImDy4wdNj7t09oVc9yaD/jh01pRVfCWUjuCf\nzvLwtgIrK4FThPaiPVIZ436JZChFtVH30t3AEETQiH7vf9SeG2ZMAVn2Xl89\njHbQdN703J8h5eXC0K0vi+4n/WbsmeBrhqnIaCZEV+cxIHg/RLbXq4dP/SAg\n9OW2NryLIXK9hn9yUR5kAZ0zOZYXrxliVabVSZ0CSKCu40HFlEzVVY8KGa3h\nn/1nXYAgqOqcsw8RnrU4JxrxJFl316TBEqnU54zcwilS2SUnTovqc3HdTUIk\nVRWjD3+zm1brC4kfoG264NoavHFCP2ic4zMcMmrL2kEFLQj0x6XrSloayNjH\n8nwj/okZcjBDBt19QDhePGZJ5VspJXcyBe1bAJSuWK1BT4Tqnjg7d3v95nIS\n9WaWQu6jq/A1kjDzykwe8XLfD6nYbXzz+vtOa9ILgvYewaxyQ9crIGSh0FDV\nLioNtH/kfG4wvtUGOGsqXTqRiBWQXNA52Lh22aADEtU3NJ9MFRo1D2di+pX1\nAwccm0z2beZHHQhwXnmp8XU1kJ8fuNlJsDB9s3sFumJkfi1z+uSKAK+lXfd/\nxKhQ2Lyu/dXT7kOJYieIuDRZkM3rIWjmUSg1q5PosdsxPWFjDGcspOgQYMH0\nt9VG\r\n=FmzJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxbJJ9wcoaZEVkXJ2G1jLnwzyjyk1QBteiAczsVHFutwIhAJgptbnRf3yNwKr5R4cLYoj225zl4w4aNQSg5+aCzQyL"}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.8.6_1642367880994_0.5670569028955237"},"_hasShrinkwrap":false},"0.9.0-beta.0":{"name":"@apalchys/pino-cloudwatch","version":"0.9.0-beta.0","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint .","format":"prettier --write ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"@aws-sdk/client-cloudwatch-logs":"^3","async":"^3.2.3","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.2.0","yargs":"^17.7.2"},"devDependencies":{"aws-sdk-client-mock":"^3.0.0","chai":"^4.3.4","eslint":"^8.54.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3","prettier":"^3.1.0"},"engines":{"node":">=16"},"prettier":{"printWidth":120,"trailingComma":"es5"},"readme":"# pino-cloudwatch\n\n#### Send pino logs to AWS CloudWatch Logs.\n\n## About\n\n`pino-cloudwatch` is a simple [pino](https://getpino.io/#/) transport that buffers and holds [pino](https://getpino.io/#/) logs until one of the following conditions are met:\n\n- the number of logs reaches 10,000\n- the 'size' of the logs reaches 1,048,576 bytes OR\n- there is at least 1 log buffered and 1,000ms (default) has passed without another log item being buffered\n  This is to minimise the number of calls to CloudWatch Logs.\n\nThe log group name is specified via the CLI (`--prefix`) and the log stream name is built based on the following information:\n\n- An optional `prefix`,\n- the hostname (via `os.hostname()`),\n- the process ID (via `process.id`),\n- the epoch when the first log are sent to CloudWatch Logs\n\n## Usage\n\n```\n# ./bin/pino-cloudwatch.js\nSends pino logs to AWS CloudWatch Logs.\nUsage: node index.js | pino-cloudwatch [options]\n\nOptions:\n  --help                   Show help                                   [boolean]\n  --version                Show version number                         [boolean]\n  --aws_access_key_id      AWS Access Key ID\n  --aws_secret_access_key  AWS Secret Access Key\n  --aws_region             AWS Region\n  --group                  AWS CloudWatch log group name              [required]\n  --prefix                 AWS CloudWatch log stream name prefix\n  --stream                 AWS CloudWatch log stream name, overrides --prefix option.\n  --interval               The maxmimum interval (in ms) before flushing the log\n                           queue.                                [default: 1000]\n```\n\n## Options\n\n### `group`: `String` (required)\n\n### `prefix`: `String`\n\n### `interval`: `Integer` (default `1000`ms, `0` to disable)\n\nThe `interval` is the amount of time in ms that must elapse before attempting to send logs to CloudWatch Logs. Increase this to reduce the number of calls to CloudWatch Logs.\n\nIf you set this to `0` then it will only send logs when:\n\n- It reaches the maxiumum number of logs\n- It reaches the maximum size of the logs\n\n**note**: Disabling the interval could mean that logs will _never_ be sent to CloudWatch Logs.\n\n### `aws_access_key_id`: `String`\n\n### `aws_secret_access_key`: `String`\n\n### `aws_region`: `String`\n\n## Other uses\n\n### Writable Stream\n\nThis module can be required and used as a writable stream:\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n#### Writeable Stream Events\n\nSince pino-cloudwatch returns a writable stream, you can attach event handlers like any other writeable stream (see https://nodejs.org/dist/v10.19.0/docs/api/stream.html#stream_writable_streams).\n\nIn addition, a `flushed` event is emitted once the logs are successfully pushed / saved in AWS CloudWatch Logs.\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\nvar streamToCloudWatch = pinoCloudWatch({ group: \"test\" });\n\nstreamToCloudWatch.on(\"flushed\", function () {\n  console.log(\"Logs were successfully sent to AWS CloudWatch\");\n});\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n### Arbitrary logs\n\nTechnically `pino-cloudwatch` can send any object mode stream to CloudWatch Logs. This includes _any_ text-based log file. For example: tailing a standard log file like nginx access.log.\n\n## Test\n\n```\n# npm test\n```\n","readmeFilename":"README.md","gitHead":"f5e7e4cd6d73336a8a01656f8454faaedcd5170d","_id":"@apalchys/pino-cloudwatch@0.9.0-beta.0","_nodeVersion":"18.14.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-HGg9N4AAwxjFSzeXz3os3iJJbIjMAIsCOls5H5QzG4Z13kfwK3Q9JqPj96bTAEFbgAeEp7gQTYVOXgUbLdNlUQ==","shasum":"7cf11a50f30eb5cea278cc30e813eacb51bf24d8","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.9.0-beta.0.tgz","fileCount":14,"unpackedSize":16161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGN0GX09tYoHjCQw6XkLqfwQcXreiyn+QQOj9bOX8eGAiEAxEh28+D58nui+WNBByJzIqXV4u+UjP8tsRghymITnN0="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.9.0-beta.0_1700398022798_0.994649359134369"},"_hasShrinkwrap":false},"0.9.0-beta.1":{"name":"@apalchys/pino-cloudwatch","version":"0.9.0-beta.1","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint .","format":"prettier --write ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"@aws-sdk/client-cloudwatch-logs":"^3","async":"^3.2.3","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.2.0","yargs":"^17.7.2"},"devDependencies":{"aws-sdk-client-mock":"^3.0.0","chai":"^4.3.4","eslint":"^8.54.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3","prettier":"^3.1.0"},"engines":{"node":">=16"},"prettier":{"printWidth":120,"trailingComma":"es5"},"readme":"# pino-cloudwatch\n\n#### Send pino logs to AWS CloudWatch Logs.\n\n## About\n\n`pino-cloudwatch` is a simple [pino](https://getpino.io/#/) transport that buffers and holds [pino](https://getpino.io/#/) logs until one of the following conditions are met:\n\n- the number of logs reaches 10,000\n- the 'size' of the logs reaches 1,048,576 bytes OR\n- there is at least 1 log buffered and 1,000ms (default) has passed without another log item being buffered\n  This is to minimise the number of calls to CloudWatch Logs.\n\nThe log group name is specified via the CLI (`--prefix`) and the log stream name is built based on the following information:\n\n- An optional `prefix`,\n- the hostname (via `os.hostname()`),\n- the process ID (via `process.id`),\n- the epoch when the first log are sent to CloudWatch Logs\n\n## Usage\n\n```\n# ./bin/pino-cloudwatch.js\nSends pino logs to AWS CloudWatch Logs.\nUsage: node index.js | pino-cloudwatch [options]\n\nOptions:\n  --help                   Show help                                   [boolean]\n  --version                Show version number                         [boolean]\n  --aws_access_key_id      AWS Access Key ID\n  --aws_secret_access_key  AWS Secret Access Key\n  --aws_region             AWS Region\n  --group                  AWS CloudWatch log group name              [required]\n  --prefix                 AWS CloudWatch log stream name prefix\n  --stream                 AWS CloudWatch log stream name, overrides --prefix option.\n  --interval               The maxmimum interval (in ms) before flushing the log\n                           queue.                                [default: 1000]\n```\n\n## Options\n\n### `group`: `String` (required)\n\n### `prefix`: `String`\n\n### `interval`: `Integer` (default `1000`ms, `0` to disable)\n\nThe `interval` is the amount of time in ms that must elapse before attempting to send logs to CloudWatch Logs. Increase this to reduce the number of calls to CloudWatch Logs.\n\nIf you set this to `0` then it will only send logs when:\n\n- It reaches the maxiumum number of logs\n- It reaches the maximum size of the logs\n\n**note**: Disabling the interval could mean that logs will _never_ be sent to CloudWatch Logs.\n\n### `aws_access_key_id`: `String`\n\n### `aws_secret_access_key`: `String`\n\n### `aws_region`: `String`\n\n## Other uses\n\n### Writable Stream\n\nThis module can be required and used as a writable stream:\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n#### Writeable Stream Events\n\nSince pino-cloudwatch returns a writable stream, you can attach event handlers like any other writeable stream (see https://nodejs.org/dist/v10.19.0/docs/api/stream.html#stream_writable_streams).\n\nIn addition, a `flushed` event is emitted once the logs are successfully pushed / saved in AWS CloudWatch Logs.\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\nvar streamToCloudWatch = pinoCloudWatch({ group: \"test\" });\n\nstreamToCloudWatch.on(\"flushed\", function () {\n  console.log(\"Logs were successfully sent to AWS CloudWatch\");\n});\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n### Arbitrary logs\n\nTechnically `pino-cloudwatch` can send any object mode stream to CloudWatch Logs. This includes _any_ text-based log file. For example: tailing a standard log file like nginx access.log.\n\n## Test\n\n```\n# npm test\n```\n","readmeFilename":"README.md","gitHead":"f5e7e4cd6d73336a8a01656f8454faaedcd5170d","_id":"@apalchys/pino-cloudwatch@0.9.0-beta.1","_nodeVersion":"18.14.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-9KzkeXtfw3l2hM/bbjivk9m338mdHs5zpfp/pjTMptrRT1BH3SeZVtQIhuVTXEocaos2f9QScxfUIsP/JtT9vQ==","shasum":"9b3de6e2d6ef690b41e589e947fdb43e244f7db4","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.9.0-beta.1.tgz","fileCount":14,"unpackedSize":16195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXA4hzx1eF329s5KdwhMaaJ1NFmY48dHCz04exq2iozAiBxUbmKa4eICT5Ecl21CqjADIjU+NSPak38ighKIgOchQ=="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.9.0-beta.1_1700398872095_0.165936454322835"},"_hasShrinkwrap":false},"0.9.0-beta.2":{"name":"@apalchys/pino-cloudwatch","version":"0.9.0-beta.2","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint .","format":"prettier --write ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"@aws-sdk/client-cloudwatch-logs":"^3","async":"^3.2.3","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.2.0","yargs":"^17.7.2"},"devDependencies":{"aws-sdk-client-mock":"^3.0.0","chai":"^4.3.4","eslint":"^8.54.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3","prettier":"^3.1.0"},"engines":{"node":">=16"},"prettier":{"printWidth":120,"trailingComma":"es5"},"readme":"# pino-cloudwatch\n\n#### Send pino logs to AWS CloudWatch Logs.\n\n## About\n\n`pino-cloudwatch` is a simple [pino](https://getpino.io/#/) transport that buffers and holds [pino](https://getpino.io/#/) logs until one of the following conditions are met:\n\n- the number of logs reaches 10,000\n- the 'size' of the logs reaches 1,048,576 bytes OR\n- there is at least 1 log buffered and 1,000ms (default) has passed without another log item being buffered\n  This is to minimise the number of calls to CloudWatch Logs.\n\nThe log group name is specified via the CLI (`--prefix`) and the log stream name is built based on the following information:\n\n- An optional `prefix`,\n- the hostname (via `os.hostname()`),\n- the process ID (via `process.id`),\n- the epoch when the first log are sent to CloudWatch Logs\n\n## Usage\n\n```\n# ./bin/pino-cloudwatch.js\nSends pino logs to AWS CloudWatch Logs.\nUsage: node index.js | pino-cloudwatch [options]\n\nOptions:\n  --help                   Show help                                   [boolean]\n  --version                Show version number                         [boolean]\n  --aws_access_key_id      AWS Access Key ID\n  --aws_secret_access_key  AWS Secret Access Key\n  --aws_region             AWS Region\n  --group                  AWS CloudWatch log group name              [required]\n  --prefix                 AWS CloudWatch log stream name prefix\n  --stream                 AWS CloudWatch log stream name, overrides --prefix option.\n  --interval               The maxmimum interval (in ms) before flushing the log\n                           queue.                                [default: 1000]\n```\n\n## Options\n\n### `group`: `String` (required)\n\n### `prefix`: `String`\n\n### `interval`: `Integer` (default `1000`ms, `0` to disable)\n\nThe `interval` is the amount of time in ms that must elapse before attempting to send logs to CloudWatch Logs. Increase this to reduce the number of calls to CloudWatch Logs.\n\nIf you set this to `0` then it will only send logs when:\n\n- It reaches the maxiumum number of logs\n- It reaches the maximum size of the logs\n\n**note**: Disabling the interval could mean that logs will _never_ be sent to CloudWatch Logs.\n\n### `aws_access_key_id`: `String`\n\n### `aws_secret_access_key`: `String`\n\n### `aws_region`: `String`\n\n## Other uses\n\n### Writable Stream\n\nThis module can be required and used as a writable stream:\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n#### Writeable Stream Events\n\nSince pino-cloudwatch returns a writable stream, you can attach event handlers like any other writeable stream (see https://nodejs.org/dist/v10.19.0/docs/api/stream.html#stream_writable_streams).\n\nIn addition, a `flushed` event is emitted once the logs are successfully pushed / saved in AWS CloudWatch Logs.\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\nvar streamToCloudWatch = pinoCloudWatch({ group: \"test\" });\n\nstreamToCloudWatch.on(\"flushed\", function () {\n  console.log(\"Logs were successfully sent to AWS CloudWatch\");\n});\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n### Arbitrary logs\n\nTechnically `pino-cloudwatch` can send any object mode stream to CloudWatch Logs. This includes _any_ text-based log file. For example: tailing a standard log file like nginx access.log.\n\n## Test\n\n```\n# npm test\n```\n","readmeFilename":"README.md","gitHead":"b16153afc4b8741105aa5696a4825bb697d67784","_id":"@apalchys/pino-cloudwatch@0.9.0-beta.2","_nodeVersion":"18.14.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-b2bTf22Jf8VAiYobLznXJAH0IuQB9Mh9lkri5wMatXeGiljmptDCokH/QacU4DCAXBo/b9cQ76tbbfQUu0Qg4Q==","shasum":"5644bce355126caa0a5667c817f2ada6fc76684e","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.9.0-beta.2.tgz","fileCount":14,"unpackedSize":16195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRgPHQU3nupCAkFuVIrOPhwVzM3panAOxHN98UJXgW1AiBW30i10esVIUPdxvN2jsQBu1WiLTRB6zRS/bRvOAWmRg=="}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.9.0-beta.2_1700399489530_0.3349012313464892"},"_hasShrinkwrap":false},"0.9.0":{"name":"@apalchys/pino-cloudwatch","version":"0.9.0","description":"CloudWatch Logs transport for pino","main":"index.js","types":"index.d.ts","bin":{"pino-cloudwatch":"bin/pino-cloudwatch.js"},"scripts":{"test":"mocha test/specs/*","lint":"eslint .","format":"prettier --write ."},"keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"license":"MIT","bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"},"homepage":"https://github.com/apalchys/pino-cloudwatch#readme","dependencies":{"@aws-sdk/client-cloudwatch-logs":"^3","async":"^3.2.3","chunky-stream":"^0.3.0","pump":"^3.0.0","split2":"^4.2.0","yargs":"^17.7.2"},"devDependencies":{"aws-sdk-client-mock":"^3.0.0","chai":"^4.3.4","eslint":"^8.54.0","mocha":"^9.1.3","mock-require":"^3.0.3","pino":"^7.6.3","prettier":"^3.1.0"},"engines":{"node":">=16"},"prettier":{"printWidth":120,"trailingComma":"es5"},"gitHead":"6817b1bb6614669c134700bb0e4b14c6289d291b","_id":"@apalchys/pino-cloudwatch@0.9.0","_nodeVersion":"18.14.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-PYXvtxxfruyV5vJUUvN4G6pUS//mXZJVZUPA65xaVETlwkaKK6c58hvEiy73GfvC/OfXZzgcu+N5YBtZni1TVQ==","shasum":"3c4e337a1fbbcaa153ea429d0568ff021fcafbbf","tarball":"https://registry.npmjs.org/@apalchys/pino-cloudwatch/-/pino-cloudwatch-0.9.0.tgz","fileCount":14,"unpackedSize":16188,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3ZfrIq/I1uZUEn4Tsoaxhf4RS01q7qYc9y0GwJNhplQIhAKtH9gGFZFcm9Ak7L5AsB3gF9VRtEnIeOorGPjXrmlxV"}]},"_npmUser":{"name":"apalchys","email":"andrei@palchys.com"},"directories":{},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-cloudwatch_0.9.0_1700401727199_0.7324631869991256"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-04T15:02:57.929Z","0.8.0":"2021-11-04T15:02:58.157Z","modified":"2023-11-19T13:48:47.591Z","0.8.1":"2022-01-16T20:32:43.877Z","0.8.2":"2022-01-16T20:34:48.356Z","0.8.3":"2022-01-16T20:35:37.574Z","0.8.4":"2022-01-16T20:38:43.816Z","0.8.5":"2022-01-16T20:45:51.597Z","0.8.6":"2022-01-16T21:18:01.163Z","0.9.0-beta.0":"2023-11-19T12:47:03.028Z","0.9.0-beta.1":"2023-11-19T13:01:12.302Z","0.9.0-beta.2":"2023-11-19T13:11:29.694Z","0.9.0":"2023-11-19T13:48:47.381Z"},"maintainers":[{"name":"apalchys","email":"andrei@palchys.com"}],"description":"CloudWatch Logs transport for pino","homepage":"https://github.com/apalchys/pino-cloudwatch#readme","keywords":["pino","cloudwatch","logs","logger"],"author":{"name":"David Howell","url":"david@dynamicmethods.com.au"},"bugs":{"url":"https://github.com/apalchys/pino-cloudwatch/issues"},"license":"MIT","readme":"# pino-cloudwatch\n\n#### Send pino logs to AWS CloudWatch Logs.\n\n## About\n\n`pino-cloudwatch` is a simple [pino](https://getpino.io/#/) transport that buffers and holds [pino](https://getpino.io/#/) logs until one of the following conditions are met:\n\n- the number of logs reaches 10,000\n- the 'size' of the logs reaches 1,048,576 bytes OR\n- there is at least 1 log buffered and 1,000ms (default) has passed without another log item being buffered\n  This is to minimise the number of calls to CloudWatch Logs.\n\nThe log group name is specified via the CLI (`--prefix`) and the log stream name is built based on the following information:\n\n- An optional `prefix`,\n- the hostname (via `os.hostname()`),\n- the process ID (via `process.id`),\n- the epoch when the first log are sent to CloudWatch Logs\n\n## Usage\n\n```\n# ./bin/pino-cloudwatch.js\nSends pino logs to AWS CloudWatch Logs.\nUsage: node index.js | pino-cloudwatch [options]\n\nOptions:\n  --help                   Show help                                   [boolean]\n  --version                Show version number                         [boolean]\n  --aws_access_key_id      AWS Access Key ID\n  --aws_secret_access_key  AWS Secret Access Key\n  --aws_region             AWS Region\n  --group                  AWS CloudWatch log group name              [required]\n  --prefix                 AWS CloudWatch log stream name prefix\n  --stream                 AWS CloudWatch log stream name, overrides --prefix option.\n  --interval               The maxmimum interval (in ms) before flushing the log\n                           queue.                                [default: 1000]\n```\n\n## Options\n\n### `group`: `String` (required)\n\n### `prefix`: `String`\n\n### `interval`: `Integer` (default `1000`ms, `0` to disable)\n\nThe `interval` is the amount of time in ms that must elapse before attempting to send logs to CloudWatch Logs. Increase this to reduce the number of calls to CloudWatch Logs.\n\nIf you set this to `0` then it will only send logs when:\n\n- It reaches the maxiumum number of logs\n- It reaches the maximum size of the logs\n\n**note**: Disabling the interval could mean that logs will _never_ be sent to CloudWatch Logs.\n\n### `aws_access_key_id`: `String`\n\n### `aws_secret_access_key`: `String`\n\n### `aws_region`: `String`\n\n## Other uses\n\n### Writable Stream\n\nThis module can be required and used as a writable stream:\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n#### Writeable Stream Events\n\nSince pino-cloudwatch returns a writable stream, you can attach event handlers like any other writeable stream (see https://nodejs.org/dist/v10.19.0/docs/api/stream.html#stream_writable_streams).\n\nIn addition, a `flushed` event is emitted once the logs are successfully pushed / saved in AWS CloudWatch Logs.\n\n```javascript\nvar pump = require(\"pump\");\nvar split = require(\"split2\");\nvar pinoCloudWatch = require(\"pino-cloudwatch\");\nvar streamToCloudWatch = pinoCloudWatch({ group: \"test\" });\n\nstreamToCloudWatch.on(\"flushed\", function () {\n  console.log(\"Logs were successfully sent to AWS CloudWatch\");\n});\n\npump(process.stdin, split(), pinoCloudWatch({ group: \"test\" }));\n```\n\n### Arbitrary logs\n\nTechnically `pino-cloudwatch` can send any object mode stream to CloudWatch Logs. This includes _any_ text-based log file. For example: tailing a standard log file like nginx access.log.\n\n## Test\n\n```\n# npm test\n```\n","readmeFilename":"README.md","repository":{"type":"git","url":"git+ssh://git@github.com/apalchys/pino-cloudwatch.git"}}