aws-samples / amazon-rds-and-amazon-aurora-logging-blog

Blog content for working with Amazon RDS and Aurora Engine Logs
Apache License 2.0
7 stars 12 forks source link

get_pg_log_files.sh works only partialy #1

Open pslavov opened 4 years ago

pslavov commented 4 years ago

There is an very old issue that amazon haven't fixed for years now. If you have strange symbol(binary) in the logs download breaks. It is an issue with boto3 rds client, and for me is happening all the time. Error looks like that:

An error occurred (InvalidParameterValue) when calling the DownloadDBLogFilePortion operation: This file contains binary data and should be downloaded instead of viewed.

I just tried your script get_pg_log_files.sh and I get the same.