实用程序,用于分析日志。
python log_parser.py -f <路径文件> -s <路径结果>
-f, --file
if the argument is a file - processes it
if the argument is a directory - processes all files in the directory
-s, --save_to
if the argument is specified - saves the result on the specified path.
otherwise saves the result in the current directory like 'result.json'
结果文件包含:
收集的请求总数
以下类型的请求数:GET-20,POST-10等。
发出请求的前