Closed eazrael closed 6 years ago
$ ls -lah /data/test/huge_pg_logs/
drwxr-xr-x 2 gilles gilles 4,0K oct. 17 18:58 .
drwxr-xr-x 5 gilles gilles 4,0K sept. 12 11:58 ..
-rw-r--r-- 1 gilles gilles 1,9G sept. 12 12:10 postgresql-Fri.log
-rw-r--r-- 1 gilles gilles 543M oct. 17 18:49 postgresql-Sat.log
-rw-r--r-- 1 gilles gilles 632M sept. 12 12:10 postgresql-Sun.log
-rw-r--r-- 1 gilles gilles 3,2G sept. 12 12:15 postgresql-Thu.log
-rw-r--r-- 1 gilles gilles 3,3G sept. 12 12:03 postgresql-Tue.log
$ perl pgbadger -j 12 /data/pglog/huge_log_test/postgresql-*
[========================>] Parsed 10031788505 bytes of 10031788505 (100.00%), queries: 60366965, events: 3965
LOG: Ok, generating html report...
Everything is working fine with all files.
Can't reproduce it, too. At that time it was reproducible and I used the same files now. Maybe some glitch in the logs.
I have a log larger than 2GB and it is ignored by pgbadger. Compressed with xz pgbadger accepts it:
pgbadger version 10.1