https://github.com/rucub100/cloudfront-standard-logs-insights
Web application to get insights to CloudFront standard logs stored in S3
https://github.com/rucub100/cloudfront-standard-logs-insights
accesslogs aws aws-cloudfront cloudfront-logs logs-analysis standard-logs
Last synced: about 1 year ago
JSON representation
Web application to get insights to CloudFront standard logs stored in S3
- Host: GitHub
- URL: https://github.com/rucub100/cloudfront-standard-logs-insights
- Owner: rucub100
- License: mit
- Created: 2021-12-10T20:44:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T08:56:10.000Z (over 3 years ago)
- Last Synced: 2025-04-12T09:12:53.942Z (about 1 year ago)
- Topics: accesslogs, aws, aws-cloudfront, cloudfront-logs, logs-analysis, standard-logs
- Language: Vue
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudfront-standard-logs-insights
Web application to get insights to CloudFront standard logs stored in S3
## Features
- Overview with general statistics
- Log date range
- Total number of requests
- Total number of different IP addresses
- Network volume bytes in and out
- All edge locations
- All User Agents
- Collections for referers and URI paths
- More connection information (protocols, ciphers and status codes)
- Table view
- Custom column selection for what you are interested in
- Filters
- Pagination
Empower yourself and get insights from otherwise boring text-based logs.
## Prerequisites
- NodeJS
- CloudFront Distribution with Standard Logs stored in S3
- AWS Account & AWS CLI
## Build
1. Build the ui via
```bash
cd ui
yarn && yarn build
```
2. Build the expressjs server app:
```
cd ..
yarn
```
## Sync the logs from an S3 bucket
Use the `sync.sh logs.example.com` script or the AWS CLI to copy the log files from S3 into a `.logs` folder.
## Development
For better development experience use `yarn dev` to serve the static web app and `npm run build:watch` for the `ui`.
## Screenshots

