你好,游客 登录 注册 搜索
背景:
阅读新闻

pgBadger 1.1 发布,PostgreSQL 日志统计工具

[日期:2012-07-10] 来源:Linux社区  作者:Linux [字体:大 中 小]

pgBadger 1.1 发布了,pgBadger 是一个 PostgreSQL 数据库日志分析程序,可生成详细的报表和图表,旨在替换 pgFouine 脚本。

查看示例报表:http://projects.dalibo.org/pgbadger/example.html

新版本改进记录:

New features:

- Add possibility to get log from stdin
- Change syslog parsing regex to allow log timestamp in log_line_prefix very often forgotten when log destination is changed from stderr to syslog.
- Add documentation for the -z | --zcat command line option.
- Allow `zcat` location to be specified via `--zcat` - David E. Wheeler
- Add --disable-session,--disable-connection and disable-checkpoint command line options to remove
  their respective reports from the output   
- Add --disable-query command line option to remove queries statistics from the output
- Add --disable-hourly command line option to remove hourly statistics from the output
- Add --disable-error command line option to remove error report from the output
- Add --exclude-query option to exclude types of queries by specifying a regex
- Set thousand separator and decimal separator to be locale dependant
- Add -w option to only report errors
- Add Makefile.PL and full POD documentation to the project
- Allow multiple log files from command line
- Add simple csvlog support - Alex Hunsaker
- Hourly report for temporary files and checkpoints have moved in a separate table.
- Add hourly connections and sessions statistics.
- Add a chart about the number of connections per seconds.

Bug fix:

- Add information about log format requirement (lc_message = 'C') - Reported by Alain Benard.
- Fix for begin/end dates with single digit day using syslog - Patch by Joseph Marlin.
- Fix handle of syslog dates with single-digit day number - Patch by Denis Orlikhin.
- Fix many English syntax in error messages and documentation - Patch by Joseph Marlin.
- Fix non terminated TH html tag in checkpoint hourly table - Reported by Joseph Marlin.
- "Log file" section will now only report first and last log file parsed
- Fix empty output in hourly temporary file stats.
- Fix wrapping query that goes out of the table and makes the window scroll horizontally - Asked by Isaac Reuben.
- Fix code where != was replaced by $$CLASSSY0A$$!=$$CLASSSY0B$$ in the output. - Reported by Isaac Reuben
- Fix and review text report output.
- Fix an issue in SQL code highligh replacement.
- Complete review of the HTML output.
- Add .gitignore for swap files - patch by Vincent Picavet
- Fix wrong variable for user and database filter - patch by Vincent Picavet.
- Change default regexp for user and db to be able to detect both - patch by Vincent Picavet.
- Fix false cur_date when using syslog and allow -b and -e options to work - patch by Vincent Picavet.
- Fix some case where log line where not detected as PostgreSQL log lines.
- Added explanation for --begin and --end datetime setting. And added -v / --version - Patch by ragged.
- Fix usage information and presentation in README file.

pgBadger 的详细介绍:请点这里
pgBadger 的下载地址:请点这里

相关阅读:

pgBadger安装使用:利用 pgBadger 来分析 Postgres log file http://www.linuxidc.com/Linux/2013-10/92173.htm

linux
相关资讯       pgBadger 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款