Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com/questions/83741/… –  ripper234 Jan 18 '12 at 17:21
add comment

2 Answers

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

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.