免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2940 | 回复: 6
打印 上一主题 下一主题

[Mail] 各位老大如何分析日志的? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-18 11:00 |只看该作者 |倒序浏览
cat /var/log/maillog |grep XXX
感觉不爽
有啥好工具书推荐一下

论坛徽章:
0
2 [报告]
发表于 2006-08-18 11:20 |只看该作者
写脚本分析

论坛徽章:
0
3 [报告]
发表于 2006-08-18 11:42 |只看该作者
如何写 请教

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2006-08-18 11:57 |只看该作者
只能写脚本了

论坛徽章:
0
5 [报告]
发表于 2006-08-22 10:40 |只看该作者
http://www.postfix.org/addon.html#logfile

Logfile analysis

pflogsumm logfile analyzer utility by Jim Seymour.
AWStats logfile analyzer system.
Anteater logfile analysis system by Tobias Erbsland.
mailgraph, an RRDtool frontend utility by David Schweikert.
mailstats logfile analyzer utility by Craig Sanders.
LogReport logfile analyzer system. On-line log report processing is available at log@postfix.logreport.org.
Logrep logfile analyzer system.
Isoqlog logfile analyzer system (also supports qmail and Sendmail).

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2006-08-22 10:49 |只看该作者
sendmail 的看法
常看,用力看很多東西慢慢就懂了
另外建議剛開始時把 LogLevel 調高一點,至少 14 以上,對於問題的核心會更能掌握
上面講的那些東西都是不錯用的,但要用之前最好巳經能相當掌握 log 說什麼及對應的處理

AWStats 是不錯用的東西
其內附的 maillogconvert 能幫你把 maillog 轉成 http 的 access_log 格式,如此會更好讀一些 (相對資訊會有 lose)

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
7 [报告]
发表于 2006-08-22 10:59 |只看该作者
我自己的 awstats sample
http://211.72.210.251/aws/

可以看出來 awstats 其實做的相當好,學會了他可以用在 http/proxy 的 log 分析上
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP