awslabs / rds-support-tools

Amazon RDS Support Tools contains utilities, sql, scripts and views which are useful in a RDS environment
https://aws.amazon.com/rds/
Apache License 2.0
217 stars 229 forks source link

Update to database-logs/move-rds-logs-to-s3/rds-logs-to-s3.py to acccount for log files larger than 1 MB #71

Closed dgrantX closed 2 years ago

dgrantX commented 5 years ago

*Issue #70

*Description of changes: Added code to address issues found where RDS log file sizes are greater than 1 MB and audit requirements for archiving logs

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

mponizil commented 4 years ago

This PR seems to fix the issue, though perhaps it hasn't been merged because there's kind of a lot going on. Can the maintainer comment about any next steps here? Even if this rendition isn't merged, it seems prudent that the script be updated with this recursion logic so that logs with long lines aren't mysteriously exported with missing data.