1.0.0 • Published 2 years ago

cdn2agora v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

NameAliasIndexDescription
inputUrl-i1MINHA CDN logs url to fetch
outputPath-o2Output 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


Linkedin Badge Gmail Badge