1.下载工具
https://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/cn/cdn/0.1.99/assets/tool/cdnlog-tool-linux.zip?spm=5176.doc27276.2.2.SfEIzT&file=cdnlog-tool-linux.zip
2.执行命令
./cdnlogdownloader.sh -h
Usage of ./cdnlogdownloader.sh:
-date="": log date as YYYY-MM-DD
-domain="": the domain name want to download log
-host="cdn.aliyuncs.com": server to fetch log
-id="": Access Key Id
-port=80: server port
-secret="": Access Key Secret
格式: 下载2017-08-21 2017-08-22的日志
./cdnlogdownloader.sh -domain="xx.xxx.com" -date="2017-08-21 2017-08-22" -id=" " -secret=""
阿里云cdn下载日志方法
最新推荐文章于 2022-11-18 22:09:26 发布