From e56dfb98cb39e5c58103015a7a7cd968d1b508b0 Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Fri, 20 Mar 2015 22:57:58 +0100 Subject: [PATCH] Add full example to chain pgbadger and pgbadger_tool with --csv-slowest. --- tools/README | 6 ++++++ 1 file changed, 6 insertions(+) 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: ------------- -- 2.50.1