Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babineau committed Mar 27, 2009
1 parent f3c8ec8 commit 04b0045
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README
@@ -1,11 +1,22 @@
aws_logmover.py
Mike Babineau <michael.babineau@gmail.com>

------------------
Description:
Script for moving logs files into and out of S3 using SQS messages for reference.
Supports two modes:
push - Renames a file (<unix time>.<hostname>.log.gz), uploads it to S3, and creates an SQS message containing the S3 location

aws_logmover supports two modes:
push - Renames a file, uploads it to S3, and creates an SQS message containing the S3 location
pull - Reads in an SQS message, downloads the referenced file, then removes the message from the SQS queue

In push mode, file is renamed using the following convention: <unix time>.<hostname>.log.gz

------------------
Requirements:
-boto, a Python interface for Amazon Web Services (http://code.google.com/p/boto/).
-AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, read in from same-named environment
variables, from boto.cfg (see boto manual), or from a specified config file (see README).

------------------
Usage: aws_logmover.py [options]

Options:
Expand Down

0 comments on commit 04b0045

Please sign in to comment.