1.0.0 • Published 2 years ago
cdn2agora v1.0.0
Log Conversion Script - cdn2agora
A Node.js script that converts MINHA CDN logs to Agora logs format
The purpose of this project is a simple way to convert MINHA CDN's Log to Agora's Log Format
User Guide
Basic usage example:
npx cdn2agora <inputUrl> <outputPath> [--overwriteFile]
Arguments
Name | Alias | Index | Description |
---|---|---|---|
inputUrl | -i | 1 | MINHA CDN logs url to fetch |
outputPath | -o | 2 | Output Path to save Agora logs |
overwriteFile | -v | - | Optional: Overwrite file if it already exists |
Examples:
Simple usage:
npx cdn2agora http://logstorage.com/minhaCdn1.txt ./output/minhaCdn1.txt
Alternative usage:
npx cdn2agora --inputUrl=https://s3.amazonaws.com/uux-itaas-static/minha-cdn-logs/input-01.txt --outputPath=./output/minhaCdn1.txt --overwriteFile
Alternative usage with alias:
npx cdn2agora -i=https://s3.amazonaws.com/uux-itaas-static/minha-cdn-logs/input-01.txt -o=./output/minhaCdn1.txt -v
Author
1.0.0
2 years ago