Skip to content

Conversation

@posilva
Copy link

@posilva posilva commented Dec 11, 2017

This PR adds support to upload logs to AWS S3 bucket with or without compression

@posilva posilva force-pushed the feature/add_support_to_aws_s3_storage branch from d2bd207 to ff446c1 Compare December 11, 2017 13:28
@elithrar
Copy link
Contributor

@posilva - thanks for this. Will review soon.

I should also mention that Enterprise customers are now able to join our Logpush beta, where we can continuously push request logs to an S3 (or GCS) bucket for you. Email msilverlock @ cloudflare if that’s relevant to you.

When using aws-s3-compress we need to ensure we first close the GzWriter
before the PipeWriter to avoid having "corrupted" JSON in the logs,
this was observed when trying to use AWS Athena to query the Logs
@posilva
Copy link
Author

posilva commented Dec 18, 2017

@elithrar - I made a fix to the previous PR because I was getting some "corrupt/incomplete" log entries when using aws-s3-compress option.

  • We have it in production for several hours and it's working just perfect!

Thanks

@elithrar elithrar self-assigned this Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants