bunyan-cloudwatch | Writable stream to write bunyan logs to AWS CloudWatch | AWS library
kandi X-RAY | bunyan-cloudwatch Summary
kandi X-RAY | bunyan-cloudwatch Summary
Writable stream to write bunyan logs to AWS CloudWatch
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Write logs to disk
- A writable stream that outputs a writable stream .
- Create a log object .
- create a log stream for logging
- Create a log stream
- create stream callback
- Create a CloudWatch stream .
bunyan-cloudwatch Key Features
bunyan-cloudwatch Examples and Code Snippets
Community Discussions
Trending Discussions on bunyan-cloudwatch
QUESTION
I'm running a couple of Node services on AWS across Elastic Beanstalk and Lambdas. We use the Bunyan library and produce JSON logs. We are considering moving our logging entirely to CloudWatch. I've found two ways of pushing logs to CloudWatch:
Write everything to the console using bunyan and use the built-in log streaming in both Beanstalk and Lambda to push logs to CloudWatch for me.
Use a Bunyan Stream like https://github.com/mirkokiefer/bunyan-cloudwatch and push all log events directly to CloudWatch via their APIs.
Are both valid options? Is one more preferred than the other? Any plusses and minuses that I'm missing?
...ANSWER
Answered 2020-Feb-10 at 15:00I favor the first option: Write everything to the console using bunyan.
I think this separates concerns better than baking cloudstream into your app. Besides, bunyan-cloudwatch is not maintained.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bunyan-cloudwatch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page