跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • HTTP Access Log 监视器
未分類
13 2 月 2020

HTTP Access Log 监视器

HTTP Access Log 监视器

資深大佬 : SIGEV13 55

最近面试个公司要求做个 HTTP Access Log 监视器, 虽然最后 on site 环节没有面上,不过俺把作业分享出来希望能对大家有用。

代码 https://github.com/raptorsun/http_log_monitor

还写了个短文介绍一下 https://raptorsun.github.io/howtopymonitor.html

大佬有話說 (4)

  • 資深大佬 : dandycheung

    不错。不过一会儿就有人要求中文了。

  • 主 資深大佬 : SIGEV13

    @dandycheung 如果有时间俺再加上吧 ^^”, 估计得写一小时。

  • 資深大佬 : wzw

    Nginx 的格式要不要调整?

  • 主 資深大佬 : SIGEV13

    @wzw Nginx 的默认格式也符合 W3 标准:remotehost rfc931 authuser [date] “request” status bytes

    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 就好啦 🙂

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具