HTTP Access Log 监视器
資深大佬 : SIGEV13 55
最近面试个公司要求做个 HTTP Access Log 监视器, 虽然最后 on site 环节没有面上,不过俺把作业分享出来希望能对大家有用。
代码 https://github.com/raptorsun/http_log_monitor
还写了个短文介绍一下 https://raptorsun.github.io/howtopymonitor.html
大佬有話說 (4)
最近面试个公司要求做个 HTTP Access Log 监视器, 虽然最后 on site 环节没有面上,不过俺把作业分享出来希望能对大家有用。
代码 https://github.com/raptorsun/http_log_monitor
还写了个短文介绍一下 https://raptorsun.github.io/howtopymonitor.html
Nginx: https://docs.nginx.com/nginx/admin-guide/monitoring/logging/#access_log
W3: https://www.w3.org/Daemon/User/Config/Logging.html#common-logfile-format
如果换格式, 调整一下 Parser 就好啦 🙂