From: Darold Gilles Date: Fri, 20 Mar 2015 21:57:58 +0000 (+0100) Subject: Add full example to chain pgbadger and pgbadger_tool with --csv-slowest. X-Git-Tag: v6.3~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e56dfb98cb39e5c58103015a7a7cd968d1b508b0;p=pgbadger Add full example to chain pgbadger and pgbadger_tool with --csv-slowest. --- diff --git a/tools/README b/tools/README index 2b556f8..d2ace6a 100644 --- a/tools/README +++ b/tools/README @@ -71,6 +71,12 @@ Option to limit top queries to minimum duration: will not be reported. Use it if you want to auto execute explain statements. +If you want to chain tools and HTML report, you can proceed as follow: + + pgbadger -o out.bin /var/log/postgresql/postgresql.log + ./pgbadger_tools --csv-slowest out.bin --csv-filename top_slowest.csv + pgbadger -o report.html out.bin + CONTRIBUTION: -------------