dimonomid 2 days ago

Thanks for the feedback!

Yeah it would be great, and I do want to support it, especially if the demand is popular. In fact, even if you ungzip them manually, as of today nerdlog doesn't support more than 2 files in a logstream, which needs to be fixed first.

Specifically about supporting gzipped logs though, the UX I'm thinking about is like this: if the requested time range goes beyond the earliest available ungzipped file, then warn the user that we'll have to ungzip the next file (that warning can be turned off in options though, but by default I don't want to just ungzip it silently, because it can consume a signficant amount of disk space). So if the user agrees, nerdlog ungzips it and places somewhere under tmp. It'll never delete it manually though, relying on the regular OS means of cleaning up /tmp, and will keep using it as long as it's available.

Does it make sense?

  • ryanhecht 2 days ago

    Definitely makes sense!

    > In fact, even if you ungzip them manually, as of today nerdlog doesn't support more than 2 files in a logstream

    Ah, interesting! I read the limitation as "we don't support zipped files," not "we only support two files!"

    Best of luck, this is neat!