I have successfully deployed a Node.js application to AWS Elastic Beanstalk. This application is not a web app, so there is no web page or web server to interact with. It runs continuously in a loop and provide feedback through standard "console.log" calls (to stdout).
How can I easily monitor my running application? Heroku has the "heroku logs" command, which is exactly the kind of tool I need. I tried the "eb logs" command, but the output is not what I am looking for (no stdout).
I discovered that a Node.js EB app logs its output into /var/log/nodejs/nodejs.log. When extracting logs, through the web console or the "eb logs" command, look out for this log file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With