I have a Node.js application running on AWS EC2 ubuntu server in which I use 'forever' module to keep the app running. I also utilize the logging done by forever (which it dumps to a file in the .forever folder). With time my log file is growing large and difficult to manage. I also have some apps on Heroku where I use the amazing service PaperTrail to manage logs and alerts. My question is, is there any service on AWS that I can use to manage my logs and error alerts, like PaperTrail on Heroku? Also, how would I be able to attach my application or the log file to this service?
Manage Node.js Forever Logs on AWS EC2 – How to Guide
amazon ec2amazon-web-servicesloggingnode.js
Related Topic
- Aws ec2 describe-instances not allowed in user-data
- How to keep the Amazon Linux EC2 instance /var/log/messages from being filled with dhclient and ec2net messages
- Docker – How to retrieve logs from AWS EC2 and Docker containers fail-proof
- amazon-web-services – Viewing Java Spring Boot Logs from AWS Elastic Beanstalk in AWS CloudWatch
Best Answer
A few thoughts:
To help with error alerts you'd need to edit your question to provide more information. AWS Simple Notification Service may be applicable.