Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
See… – ripper234 Jan 18 '12 at 17:21
I was looking for similar resources myself. I found the following link where they tackled a similar problem and applied solutions with scalability as a consideration:… – Epoch Win Feb 19 '15 at 21:19

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

share|improve this answer

Have the server ftp or email then to you at instance startup. We have a script running that takes care of this (and some other housekeeping).

share|improve this answer
While this may fit your needs, it is not a scalable solution. In some instances logs are lost at shutdown. – Andy Aug 19 '11 at 15:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.