https://github.com/jimas14/easy-access-logs
Get a single CSV from a directory of AWS access log files.
https://github.com/jimas14/easy-access-logs
access-logs aws cloudfront csv for-humans parse python s3
Last synced: 8 months ago
JSON representation
Get a single CSV from a directory of AWS access log files.
- Host: GitHub
- URL: https://github.com/jimas14/easy-access-logs
- Owner: jimas14
- Created: 2019-09-06T13:57:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-20T20:24:28.000Z (about 5 years ago)
- Last Synced: 2025-01-02T16:54:14.962Z (9 months ago)
- Topics: access-logs, aws, cloudfront, csv, for-humans, parse, python, s3
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# easy-access-logs
I made this script because S3 access logs are an absolute nightmare to read through, let alone
review at a large scale.Given a directory full of S3 access log files, the script will generate a complete CSV of all access logs.
Make sure you are in a Python 3.7 environment before running.
## Usage
1. Download all access logs to one directory using AWS S3 cli or preferred method.
2. Run `python easy-access-logs.py --directory=/full/path-to/logfiles`