goaccess icon indicating copy to clipboard operation
goaccess copied to clipboard

Please allow using gzipped log files

Open jech opened this issue 4 years ago • 4 comments

Under many Linux distributions, logfiles are compresses after a few days. It would be convenient if goacess could transparently decompress such compressed log files.

jech avatar Jul 04 '21 15:07 jech

Possible ways to fix this:

  1. Actually manage your server so it does not do things you don't want it to do.
  2. Pipe the output of zcat instead of the actual log files to goaccess.

dertuxmalwieder avatar Jul 05 '21 00:07 dertuxmalwieder

Yes, I know about the workaround. I'm just saying that it would be convenient if goaccess could decompress on the fly.

jech avatar Jul 05 '21 12:07 jech

Hi @jech

Perhaps you can a fuse filesystem that have to support that. I find fuse-bgzip here.

0bi-w6n-K3nobi avatar Jul 05 '21 17:07 0bi-w6n-K3nobi

@jech Thanks for suggesting this. I can look into this. I'm guessing it will require to build --with-zlib, it shouldn't be too bad. @0bi-w6n-K3nobi Thanks for sharing those workarounds, certainly did not know the fuse-bgzip :)

allinurl avatar Jul 06 '21 13:07 allinurl