obsrvbl-oss / flowlogs-reader

Command line tool and Python library for working with AWS VPC Flow Logs
Apache License 2.0
138 stars 23 forks source link

Read VPC Flow Logs from S3 #31

Closed bbayles closed 6 years ago

bbayles commented 6 years ago

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.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling af6cbd796f8ea849a98ca691a2de82c4b696c3cf on s3-logs into 61dabce94445e0342b7ee1e03578229ea2e578a2 on master.