New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for importing AWS CloudFront log files #6554
Conversation
Thanks for the PR! This is nice new feature. Would you mind adding test log file in the |
… with success. Test reported: 14:46:51 $ ./run_tests.sh ...................................... ---------------------------------------------------------------------- Ran 38 tests in 0.024s OK
Hi Mattab, I have added the cloudfront log file and modified tests.py to support test for cloudfront logs. The test reported OK. Thank you, |
…ave re-added it now.
Run the test again and it is working.
@@ -254,6 +259,7 @@ def check_format(self, file): | |||
'common_complete': RegexFormat('common_complete', _HOST_PREFIX + _NCSA_EXTENDED_LOG_FORMAT), | |||
'iis': IisFormat(), | |||
's3': RegexFormat('s3', _S3_LOG_FORMAT), | |||
'cdn': RegexFormat('cdn', _CDN_LOG_FORMAT, '%Y-%m-%d %H:%M:%S'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you rename cdn
to amazon_cloudfront
?
Fixed in #6851. |
I have added support to allow import of Amazon CloudFront log files. It has been tested and it is working fine.