Last week AWS added support for delivering VPC Flow Logs to S3 destinations.
This PR adds support for pulling log files from S3.
It introduces the S3FlowLogsReader class, which is similar to FlowLogsReader. It of course does not support CloudWatch Logs filter_pattern arguments, but does support optional filtering with include_accounts and include_regions.
Coverage remained the same at 100.0% when pulling af6cbd796f8ea849a98ca691a2de82c4b696c3cf on s3-logs into 61dabce94445e0342b7ee1e03578229ea2e578a2 on master.
Last week AWS added support for delivering VPC Flow Logs to S3 destinations.
This PR adds support for pulling log files from S3.
It introduces the
S3FlowLogsReader
class, which is similar toFlowLogsReader
. It of course does not support CloudWatch Logsfilter_pattern
arguments, but does support optional filtering withinclude_accounts
andinclude_regions
.