Download all AWS RDS logs files for a specific instance.
$ npm install -g rds-logs
Get some help
$ rdslogs --help
Usage: rdslogs [options] <path>
Download all RDS logs on a specified database
Options:
-i, --instance-id <aws instance identifier> (required) db instance identifier
-r, --region <aws region> (optional) default set to us-east-1
-d, --debug (optional) print debug log
-V, --version output the version number
-h, --help output usage information
Dowload logs for instance production
on region us-east-1
, put logs in ./logs
:
$ rdslogs -i production -r us-east-1 ./logs
Before making a pull request, make sure to run:
$ npm run lint
$ npm run test