www: add log-collect for managing CloudFlare logs #679
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use the CloudFlare log fetching functionality to store download logs locally so we can get CF to cache everything and not have to manage logs on the server itself—the primary cause of our lack of resilience, we have a SPOF.
Yes it's quite convoluted but I'm trying to be careful that we get the highest quality logs since CF doesn't store them beyond 72 hours.
I have this in place now and I'm going to run it for a few days at least and check the quality of what it's got - whether we have a complete set of files and whether those files look complete in their content. I'll then try running metrics from them and see how they compare to what we are currently generating to make sure that the data is good.