# cdn-log-analyzer > Analyze CDN access logs from a local file path or an HTTP/HTTPS URL, even when the log format is unknown. Use when you need to auto-detect CDN log formats (JSONL, CloudFront-style fields, CSV/TSV/space-delimited, nginx/apache access logs), summarize traffic/errors/cache/latency, and generate a markdown report. - Author: taotao - Repository: redink/skills - Version: 20260126235456 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/redink/skills - Web: https://mule.run/skillshub/@@redink/skills~cdn-log-analyzer:20260126235456 --- --- name: cdn-log-analyzer description: Analyze CDN access logs from a local file path or an HTTP/HTTPS URL, even when the log format is unknown. Use when you need to auto-detect CDN log formats (JSONL, CloudFront-style fields, CSV/TSV/space-delimited, nginx/apache access logs), summarize traffic/errors/cache/latency, and generate a markdown report. --- # CDN Log Analyzer ## Quick use Run the bundled analyzer script and then summarize the results. Local file: ```bash node scripts/analyze-cdn-logs.js --file /path/to/cdn.log ``` URL (HTTPS-only v1): ```bash node scripts/analyze-cdn-logs.js --url "https://example.com/cdn.log" node scripts/analyze-cdn-logs.js --url "https://example.com/cdn.log" --header "Authorization: Bearer XXX" ``` ## Workflow 1) Ask for the input source: `--file` path or `--url`. 2) Ask what they care about (errors, cache misses, top endpoints, latency). 3) Run the script. 4) Report: - detected format + confidence - parse success rate - time range - status distribution + top status codes - top hosts/paths/ips/user agents - bytes totals (if present) - cache hit/miss (if present) - latency percentiles (if present) ## Notes - Format detection is best-effort and based on sampling. - The script is deterministic; it does not call an LLM.