https://github.com/parameter1/cloudflare-analytics-export
Exports response code analytics data from Cloudflare to CSV
https://github.com/parameter1/cloudflare-analytics-export
Last synced: 2 months ago
JSON representation
Exports response code analytics data from Cloudflare to CSV
- Host: GitHub
- URL: https://github.com/parameter1/cloudflare-analytics-export
- Owner: parameter1
- License: mit
- Created: 2021-04-06T21:34:54.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T22:28:09.000Z (about 5 years ago)
- Last Synced: 2025-01-01T05:44:28.542Z (over 1 year ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudflare-analytics-export
Exports response code analytics data from Cloudflare to CSV
## Usage
Create a `.env` file at the root of this project:
```
CLOUDFLARE_API_TOKEN=
```
Run `yarn` to install dependencies, then run `yarn start` to boot up the app.
Enter the start and end dates and your Cloudflare Zone ID
The data will be written to `out.csv` in the project root, and can be loaded into the [Google Sheets analysis template](https://docs.google.com/spreadsheets/d/1cJKPlyHCW59-P4FfxbHY4T8FwDmgIPp-O6hKMLnr8D8/copy)