What's a good way to collect logs from Amazon EC2 instances?

前端 未结 8 2471
野的像风
野的像风 2020-12-24 06:02

My app is hosted on an Amazon EC2 cluster. Each instance writes events to log files. I need to collect (and data mine) over these logs at the end of each day. What\'s a reco

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 06:15

    I've not tried it for this purpose, but Amazon appear to recommend using SimpleDB:

    http://aws.amazon.com/simpledb/usecases_logging/

    Here's a package that you might find useful - it says you can use it to capture stdout/stderr into SimpleDB:

    http://code.google.com/p/simpledb-appender/

提交回复
热议问题