Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

verygood-ops/fastly-audit-log-shipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastly-audit-log-shipper

How it works ?

Fastly Audit Log Shipper is an utility to replicate Fastly audit logs into S3-compatible storage.

It achieves full log replication by keeping offset of last retrieved Fastly audit log page in S3.

Designed to use as a Kubernetes CronJob.

How to use

python3 -m fastly_audit_log_shipper --fastly-token='<fastly_token>' \
   --log-bucket=<s3_bucket_name> --customer-id=<customer_id>

TODO

  • Automated tests
  • Reduce possibility of log line duplication by keeping last written event offset