How to collect and aggregate logs from multiple machines in Amazon AWS environment

amazon ec2log-filessyslog

We have multiple Ec2 servers running and they have a tendency to be started and shut down at unpredictable times (based on load etc). What is the best way to collate and aggregate logs from them in one location?

Best Answer

Install rsyslog on your Ec2 image and have them transfer the logs to a central server.

Related Topic